Configuration data for creating an animation. More...
#include <animation.h>
Public Attributes | |
| char * | spritesheetPath |
| The path to the spriteSheet. | |
| Vec2 | frameSize |
| The size of each frame in the sprite sheet. | |
| int | frameCount |
| Number of frames inside the sprite sheet. | |
| AnimationClipData | clips [15] |
| Array of different animation clips. | |
| Vec2 | spriteSize |
| The size of the rendered sprite. | |
| char * | defaultClip |
| The default clip to play. | |
| bool | playOnStart |
| Whether to play the animation on creation. | |
Configuration data for creating an animation.
| AnimationClipData AnimationData::clips[15] |
Array of different animation clips.
| char* AnimationData::defaultClip |
The default clip to play.
| int AnimationData::frameCount |
Number of frames inside the sprite sheet.
| Vec2 AnimationData::frameSize |
The size of each frame in the sprite sheet.
| bool AnimationData::playOnStart |
Whether to play the animation on creation.
| char* AnimationData::spritesheetPath |
The path to the spriteSheet.
| Vec2 AnimationData::spriteSize |
The size of the rendered sprite.