AnimationFunction Struct Reference
#include <VisualComponent.h>
# Public Attributes | |
| uint16 | numberOfFrames |
| Number of frames of this animation function. | |
| uint16 | frames [__MAX_FRAMES_PER_ANIMATION_FUNCTION] |
| Frames to play in animation. | |
| uint8 | delay |
| Number of cycles a frame of animation is displayed. | |
| bool | loop |
| Whether to play it in loop or not. | |
| char | name [__MAX_ANIMATION_FUNCTION_NAME_LENGTH] |
| Animation's name. | |
# Detailed Description
A function which defines the frames to play
Definition at line 47 of file VisualComponent.h.
# Member Data Documentation
# delay
| uint8 AnimationFunction::delay |
Number of cycles a frame of animation is displayed.
Definition at line 56 of file VisualComponent.h.
# frames
| uint16 AnimationFunction::frames[__MAX_FRAMES_PER_ANIMATION_FUNCTION] |
Frames to play in animation.
Definition at line 53 of file VisualComponent.h.
# loop
| bool AnimationFunction::loop |
Whether to play it in loop or not.
Definition at line 59 of file VisualComponent.h.
# name
| char AnimationFunction::name[__MAX_ANIMATION_FUNCTION_NAME_LENGTH] |
Animation's name.
Definition at line 62 of file VisualComponent.h.
# numberOfFrames
| uint16 AnimationFunction::numberOfFrames |
Number of frames of this animation function.
Definition at line 50 of file VisualComponent.h.
The documentation for this struct was generated from the following file:
- VUEngine-Core/source/Component/VisualComponent/VisualComponent.h