Slot Type
Stores a slot's current pose. Slots organize attachments for Skeleton.DrawOrder 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.
Constructors
Constructor | Description |
|
|
|
Instance members
Instance member | Description |
Full Usage:
this.A
|
The color used to tint the slot's attachment. If Slot.HasSecondColor is set, this is used as the light color for two color tinting. |
Full Usage:
this.Attachment
|
The current attachment for the slot, or null if the slot has no attachment. If the attachment is changed, resets Slot.SequenceIndex and clears the Slot.Deform. The deform is not cleared if the old attachment has the same VertexAttachment.TimelineAttachment as the specified attachment. |
Full Usage:
this.B
|
The color used to tint the slot's attachment. If Slot.HasSecondColor is set, this is used as the light color for two color tinting. |
Full Usage:
this.B2
|
The dark color used to tint the slot's attachment for two color tinting, ignored if two color tinting is not used. |
The bone this slot belongs to.
|
|
Full Usage:
this.ClampColor
|
|
Full Usage:
this.ClampSecondColor
|
|
The slot's setup pose data.
|
|
Full Usage:
this.Deform
|
Vertices 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. |
Full Usage:
this.G
|
The color used to tint the slot's attachment. If Slot.HasSecondColor is set, this is used as the light color for two color tinting. |
Full Usage:
this.G2
|
The dark color used to tint the slot's attachment for two color tinting, ignored if two color tinting is not used. |
Full Usage:
this.HasSecondColor
|
Whether R2 G2 B2 are used to tint the slot's attachment for two color tinting. False if two color tinting is not used. |
Full Usage:
this.R
|
The color used to tint the slot's attachment. If Slot.HasSecondColor is set, this is used as the light color for two color tinting. |
Full Usage:
this.R2
|
The dark color used to tint the slot's attachment for two color tinting, ignored if two color tinting is not used. |
Full Usage:
this.SequenceIndex
|
The index of the texture region to display when the slot's attachment has a Sequence. -1 represents the Sequence.SetupIndex. |
Full Usage:
this.SetToSetupPose
|
Sets this slot to the setup pose. |
|
The skeleton this slot belongs to.
|
Full Usage:
this.ToString
Returns: string
Modifiers: abstract |
|