Fires an {@link Event} when specific animation times are reached.

Constructor

new(frameCount:Int)

Methods

getEvents():Array<Event>

The event for each frame.

setFrame(frame:Int, event:Event):Void

Sets the time and event for the specified frame.

Parameters:

frame

Between 0 and frameCount, inclusive.

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

Fires events for frames > lastTime and <= time.

Inherited Variables

Inherited Methods

Defined by Timeline

getPropertyIds():StringArray

Uniquely encodes both the type of this timeline and the skeleton properties that it affects.

getFrames():FloatArray

The time in seconds and any other values for each frame.

getFrameEntries():Int

The number of entries stored per frame.