Changes a slot's Slot.attachment.

Constructor

new(frameCount:Int)

Variables

finalattachmentNames:Array<Null<String>>

The attachment name for each key frame. May contain null values to clear the attachment.

finalframes:Array<Float>

The time in seconds for each key frame.

slotIndex:Int

The index of the slot in Skeleton.slots that will be changed.

Methods

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

getFrameCount():Int

The number of key frames for this timeline.

setFrame(frameIndex:Int, time:Float, attachmentName:String):Void

Sets the time in seconds and the attachment name for the specified key frame.