#include <GAnimationManager.h>
Public Member Functions | |
int | GetIndexForAnimation (char *AnimationName) |
int | UpdateAnimation (GModel *model, double time, double dtime, int FLAGS=0) |
int | UpdateModel (GModel *Model, keyframe_t oldstate, keyframe_t newstate, float dt) |
update an animation | |
int | Reset (void) |
update a model | |
GAnimationManager () | |
reset animation | |
int | SkipAnimation (void) |
standard constructor | |
Public Attributes | |
animation_t * | animation |
animationlibrary_t * | animationlibrary |
currently played animation | |
keyframelibrary_t * | keyframelibrary |
animation library | |
double | starttime |
keyframe library | |
double | dt |
begin of animation | |
int | currentedge |
time since begin of animation | |
AnimationState | State |
current animation edge |
GAnimationManager::GAnimationManager | ( | ) |
reset animation
int GAnimationManager::GetIndexForAnimation | ( | char * | AnimationName | ) |
int GAnimationManager::Reset | ( | void | ) |
update a model
int GAnimationManager::SkipAnimation | ( | void | ) |
standard constructor
int GAnimationManager::UpdateAnimation | ( | GModel * | model, | |
double | time, | |||
double | dtime, | |||
int | FLAGS = 0 | |||
) |
int GAnimationManager::UpdateModel | ( | GModel * | Model, | |
keyframe_t | oldstate, | |||
keyframe_t | newstate, | |||
float | dt | |||
) |
update an animation
currently played animation
time since begin of animation
double GAnimationManager::dt |
begin of animation
animation library
double GAnimationManager::starttime |
keyframe library
current animation edge