28 #ifndef HPL_ANIMATION_TRACK_H 29 #define HPL_ANIMATION_TRACK_H 31 #include "hpl1/engine/graphics/GraphicsTypes.h" 32 #include "hpl1/engine/math/MathTypes.h" 33 #include "hpl1/engine/system/SystemTypes.h" 45 void ResizeKeyFrames(
int alSize);
53 inline cKeyFrame *GetKeyFrame(
int alIndex) {
return mvKeyFrames[alIndex]; }
54 inline int GetKeyFrameNum() {
return (
int)mvKeyFrames.
size(); }
56 inline tAnimTransformFlag GetTransformFlags() {
return mTransformFlags; }
82 const char *GetName() {
return msName.c_str(); }
84 void SetNodeIndex(
int alIndex) { mlNodeIdx = alIndex; }
85 int GetNodeIndex() {
return mlNodeIdx; }
93 tAnimTransformFlag mTransformFlags;
102 #endif // HPL_ANIMATION_TRACK_H
Definition: AnimationTrack.h:40
void ApplyToNode(cNode3D *apNode, float afTime, float afWeight)
float GetKeyFramesAtTime(float afTime, cKeyFrame **apKeyFrameA, cKeyFrame **apKeyFrameB)
Definition: Animation.h:44
Definition: GraphicsTypes.h:95
size_type size() const
Definition: array.h:315
cKeyFrame GetInterpolatedKeyFrame(float afTime)
cKeyFrame * CreateKeyFrame(float afTime)