SpineListener
ceramic.SpineListener (Class)
Implements: spine.AnimationStateListener
Internal listener for Spine animation state events.
This class implements the AnimationStateListener interface and forwards events to dynamic function properties for flexible event handling.
Instance Members
Called when an animation starts playing on a track.
Name | Type | Description |
---|---|---|
entry |
spine.TrackEntry | The track entry that started |
Name | Type |
---|---|
entry |
spine.TrackEntry |
Called when an animation is interrupted by another animation. The interrupted animation may continue mixing.
Name | Type | Description |
---|---|---|
entry |
spine.TrackEntry | The track entry that was interrupted |
Name | Type |
---|---|
entry |
spine.TrackEntry |
Called when an animation ends and will no longer be applied.
Name | Type | Description |
---|---|---|
entry |
spine.TrackEntry | The track entry that ended |
Name | Type |
---|---|
entry |
spine.TrackEntry |
Called when a track entry is about to be disposed. Do not keep references to the entry after this call.
Name | Type | Description |
---|---|---|
entry |
spine.TrackEntry | The track entry being disposed |
Name | Type |
---|---|
entry |
spine.TrackEntry |
Called each time an animation completes a full loop.
Name | Type | Description |
---|---|---|
entry |
spine.TrackEntry | The track entry that completed |
Name | Type |
---|---|
entry |
spine.TrackEntry |
Called when an animation triggers a user-defined event.
Name | Type | Description |
---|---|---|
entry |
spine.TrackEntry | The track entry that triggered the event |
event |
spine.Event | The event data |
Name | Type |
---|---|
entry |
spine.TrackEntry |
event |
spine.Event |
Metadata
Name | Parameters |
---|---|
:hxGen |
- |