11 #ifndef CAL_ANIMATION_H 12 #define CAL_ANIMATION_H 15 #include "cal3d/global.h" 42 enum CompositionFunction {
43 CompositionFunctionNull = 0,
44 CompositionFunctionReplace,
45 CompositionFunctionAverage,
46 CompositionFunctionCrossFade
56 State getState()
const;
57 float getTime()
const;
59 float getWeight()
const;
60 void setTime(
float time);
61 void setTimeFactor(
float timeFactor);
62 float getTimeFactor()
const;
64 void checkCallbacks(
float animationTime,
CalModel *model);
65 void completeCallbacks(
CalModel *model);
68 void setType(Type type) {
72 void setState(State state) {
76 void setWeight(
float weight) {
84 std::vector<float> m_lastCallbackTimes;
Definition: coreanimation.h:23
Definition: animation.h:21