11#ifndef CAL_ANIMATION_H
12#define CAL_ANIMATION_H
15#include "cal3d/global.h"
21class CAL3D_API CalAnimation
46 virtual ~CalAnimation() { }
57 void checkCallbacks(
float animationTime,
CalModel *model);
58 void completeCallbacks(
CalModel *model);
61 void setType(Type type) {
65 void setState(State state) {
69 void setWeight(
float weight) {
77 std::vector<float> m_lastCallbackTimes;
void setTime(float time)
Set the time.
Definition animation.cpp:123
float getWeight()
Returns the weight.
Definition animation.cpp:111
Type getType()
Returns the type.
Definition animation.cpp:98
float getTime()
Returns the time.
Definition animation.cpp:81
void setTimeFactor(float timeFactor)
Set the time factor.
Definition animation.cpp:136
CalCoreAnimation * getCoreAnimation()
Provides access to the core animation.
Definition animation.cpp:49
float getTimeFactor()
Get the time factor.
Definition animation.cpp:148
State getState()
Returns the state.
Definition animation.cpp:68
Definition coreanimation.h:23