Stores the setup pose for a Slot.

Constructor

new(index:Int, name:String, boneData:BoneData)

Variables

attachmentName:Null<String>

The name of the attachment that is visible for this slot in the setup pose, or null if no attachment is visible.

blendMode:BlendMode

The blend mode for drawing the slot's attachment.

finalboneData:BoneData

The bone this slot belongs to.

@:value(new Color(1, 1, 1, 1))color:Color = new Color(1, 1, 1, 1)

The color used to tint the slot's attachment. If darkColor is set, this is used as the light color for two color tinting.

darkColor:Null<Color>

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.

finalindex:Int

The index of the slot in Skeleton.slots.

finalname:String

The name of the slot, which is unique across all slots in the skeleton.