29 #ifndef __AnimationSet_H__
30 #define __AnimationSet_H__
76 Real timePos,
Real length,
Real weight = 1.0,
bool enabled =
false);
82 const String& getAnimationName()
const;
84 Real getTimePosition(
void)
const;
86 void setTimePosition(
Real timePos);
88 Real getLength()
const;
90 void setLength(
Real len);
92 Real getWeight(
void)
const;
94 void setWeight(
Real weight);
100 void addTime(
Real offset);
103 bool hasEnded(
void)
const;
106 bool getEnabled(
void)
const;
108 void setEnabled(
bool enabled);
141 void createBlendMask(
size_t blendMaskSizeHint,
float initialWeight = 1.0f);
143 void destroyBlendMask();
151 void _setBlendMaskData(
const float* blendMaskData);
159 void _setBlendMask(
const BoneBlendMask* blendMask);
165 void setBlendMaskEntry(
size_t boneHandle,
float weight);
169 assert(mBlendMask && mBlendMask->size() > boneHandle);
170 return (*mBlendMask)[boneHandle];
216 Real timePos,
Real length,
Real weight = 1.0,
bool enabled =
false);
220 bool hasAnimationState(
const String& name)
const;
222 void removeAnimationState(
const String& name);
224 void removeAllAnimationStates(
void);
243 void _notifyDirty(
void);
248 void _notifyAnimationStateEnabled(
AnimationState* target,
bool enabled);
281 : mTargetAnimationState(targetAnimationState) {}
285 Real getValue(
void)
const;
288 void setValue(
Real value);