Defines an animation frame and associated data. More...
Public Attributes | |
| tk2dSpriteCollectionData | spriteCollection |
| The sprite collection. | |
| int | spriteId |
| The sprite identifier. | |
| bool | triggerEvent = false |
| When true will trigger an animation event when this frame is displayed. | |
| string | eventInfo = "" |
| Custom event data (string) | |
| int | eventInt = 0 |
| Custom event data (int) | |
| float | eventFloat = 0.0f |
| Custom event data (float) | |
Defines an animation frame and associated data.
| float tk2dSpriteAnimationFrame.eventFloat = 0.0f |
Custom event data (float)
| string tk2dSpriteAnimationFrame.eventInfo = "" |
Custom event data (string)
Custom event data (int)
The sprite collection.
The sprite identifier.
| bool tk2dSpriteAnimationFrame.triggerEvent = false |
When true will trigger an animation event when this frame is displayed.