EventTimeline

Timelinespine.EventTimeline (Class)

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

Instance Members

spine
getFrameCount(): Int
Returns
Int

The event for each frame.

Returns
spine.support.utils.Array<Event>

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

Sets the time and event for the specified frame.

Name Type Description
frame Int Between 0 and frameCount, inclusive.
event Event

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

Fires events for frames > lastTime and <= time.

Name Type
skeleton Skeleton
lastTime Float
time Float
firedEvents spine.support.utils.Array<Event>
alpha Float
blend MixBlend
direction MixDirection

spine
new(frameCount: Int): Void
Name Type
frameCount Int

Private Members