EventTimeline
Timeline → spine.EventTimeline (Class)
Fires an {@link Event} when specific animation times are reached.
Instance Members
| Returns |
|---|
| Int |
The event for each frame.
| Returns |
|---|
| spine.support.utils.Array<Event> |
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): VoidFires 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 |
| Name | Type |
|---|---|
frameCount |
Int |