Stores a slot's current pose.
Stores a slot's current pose. Slots organize attachments for skeleton draw order purposes and provide a place to store state for an attachment. State cannot be stored in an attachment itself because attachments are stateless and may be shared across multiple skeletons.
Returns the slot's setup pose data.
Returns the bone this slot belongs to.
Returns the current pose for this slot, containing color, attachment, and deform data.
Returns the color used to tint the slot's attachment. If dark color is set, this is used as the light color for two color tinting.
Sets the color used to tint the slot's attachment. If dark color is set, this is used as the light color for two color tinting.
Returns the dark color used to tint the slot's attachment for two color tinting, or null if two color tinting is not used. The dark color's alpha is not used.
Sets the dark color used to tint the slot's attachment for two color tinting. The dark color's alpha is not used.
Returns whether the slot has a dark color for two color tinting.
Sets whether the slot has a dark color for two color tinting.
Returns the current attachment for the slot, or null if the slot has no attachment.
Sets the slot's attachment and, if the attachment changed, resets sequence_index and clears the deform. The deform is not cleared if the old attachment has the same timeline attachment as the specified attachment.
Returns the index of the texture region to display when the slot's attachment has a Sequence. -1 represents the setup index.
Sets the index of the texture region to display when the slot's attachment has a Sequence. -1 represents the setup index.
Returns the attachment state for this slot.
Sets the attachment state for this slot.
Returns values to deform the slot's attachment. For an unweighted mesh, the entries are local positions for each vertex. For a weighted mesh, the entries are an offset for each vertex which will be added to the mesh's local vertex positions.
See VertexAttachment.computeWorldVertices and DeformTimeline.
Sets values to deform the slot's attachment. For an unweighted mesh, the entries are local positions for each vertex. For a weighted mesh, the entries are an offset for each vertex which will be added to the mesh's local vertex positions.
Sets this slot to the setup pose.