An object to hold every needed info about updating a slot.

Constructor

new()

Variables

@:value(null)slot:Slot = null

The slot that is about to have its attachment drawn (if any).

@:value(-1)globalSlotIndex:Int = -1

The global index matching with this current slot name.

@:value(null)customTransform:Transform = null

A custom transform applied to this slot (defaults to identity).

@:value(new Transform())read onlytransform:Transform = new Transform()

The bone transform, applied to this slot.

@:value(true)drawDefault:Bool = true

Set this to false if you want to disable drawing of this slot attachment.

@:value(0)depth:Float = 0

The depth in which the slot attachment should be drawn.