Module flower.spine.Attachment

Attachment is a visual representation of the slot.

It contains information about deck, deckIndex, texture and own transform. This transform is used to offset attachment from the bone.

Info:

  • Release: V1.0
  • Author: Vavius

Functions

Attachment:init (attachmentData, attachmentName, skeleton) The constructor.


Functions

Attachment:init (attachmentData, attachmentName, skeleton)
The constructor.

Parameters:

  • attachmentData attachments parameters table. Fields: (x, y, rotation, width, height, name)
  • attachmentName name of the attachment
  • skeleton skeleton object
generated by LDoc 1.3