Changes a skeleton's Skeleton.drawOrder.

Constructor

new(frameCount:Int)

Variables

finaldrawOrders:Array<Null<Array<Int>>>

The draw order for each key frame. See setFrame.

finalframes:Array<Float>

The time in seconds for each key frame.

Methods

apply(skeleton:Skeleton, lastTime:Float, time:Float, firedEvents:Array<Event>, alpha:Float, blend:MixBlend, direction:MixDirection):Void

getFrameCount():Int

The number of key frames for this timeline.

setFrame(frameIndex:Int, time:Float, drawOrder:Null<Array<Int>>):Void

Sets the time in seconds and the draw order for the specified key frame.

Parameters:

drawOrder

For each slot in Skeleton.slots, the index of the new draw order. May be null to use setup pose draw order.