size_t iFrame
The frame number.
size_t animationIndex() const
Returns the animation index (zero based)
AnimationHandle(size_t idAnimation, size_t iFrame=0)
Constructs a valid handle for the given animation and frame.
void firstFrame()
Returns to the first frame.
size_t frame() const
Returns the selected frame (zero based)
size_t idAnimation
The one based index of the animation, set to 0 for invalid (or reference pose)
A handle used to refer to an animation or to a specific frame in an animation.
void operator++()
Increases the handle to the next frame (not failsafe)
void setFrame(size_t _iFrame)
Sets the current animation frame (not failsafe)
bool isValid() const
Returns true if the handle is valid.
AnimationHandle()
Constructs an invalid animation handle (interpreted as handle of the reference pose) ...
void operator--()
Decreases the handle to the previous frame (not failsafe)