#include <animhandler.h>
Public Member Functions | |
void | animate (uint32 time) |
void | setModel (Model *model) |
void | setAnim (SkeletonAnim *anim) |
void | resetBlending () |
Animate a skeletal model's bones according to an animation
void Stark::AnimHandler::animate | ( | uint32 | time | ) |
Increment the animation timestamp, and apply bone animations if required
void Stark::AnimHandler::setModel | ( | Model * | model | ) |
Set the skeletal model to animate
void Stark::AnimHandler::setAnim | ( | SkeletonAnim * | anim | ) |
Set the skeletal animation to use
void Stark::AnimHandler::resetBlending | ( | ) |
Stop blending and forget about the previous animation