载入中...
搜索中...
未找到
AnimSkeleton.cpp
浏览该文件的文档.
Evaluated local (and optional world) pose for an AnimSkeleton. Script type: AnimPose.
Definition AnimPose.h:17
float getBindPositionY(int boneIndex) const
Returns the bind position y.
Definition AnimSkeleton.cpp:90
void setBindPosition(int boneIndex, float x, float y, float z)
Sets the bind position.
Definition AnimSkeleton.cpp:49
float getBindPositionZ(int boneIndex) const
Returns the bind position z.
Definition AnimSkeleton.cpp:94
float getBindRotationW(int boneIndex) const
Returns the bind rotation w.
Definition AnimSkeleton.cpp:110
float getBindRotationY(int boneIndex) const
Returns the bind rotation y.
Definition AnimSkeleton.cpp:102
float getBindPositionX(int boneIndex) const
Returns the bind position x.
Definition AnimSkeleton.cpp:86
float getBindRotationZ(int boneIndex) const
Returns the bind rotation z.
Definition AnimSkeleton.cpp:106
float getBindRotationX(int boneIndex) const
Returns the bind rotation x.
Definition AnimSkeleton.cpp:98
int getBoneLodLimit(int boneIndex) const
Highest LOD at which the bone is sampled; defaults to all LODs.
Definition AnimSkeleton.cpp:81
void setBoneLodLimit(int boneIndex, int highestLod)
Set the highest animation LOD at which this bone is sampled (0 = full-detail only)....
Definition AnimSkeleton.cpp:75
void setBindScale(int boneIndex, float x, float y, float z)
Sets the bind scale.
Definition AnimSkeleton.cpp:67
void setBindRotation(int boneIndex, float x, float y, float z, float w)
Sets the bind rotation.
Definition AnimSkeleton.cpp:57
void applyBindPose(class AnimPose *pose) const
Fill pose locals with bind pose.
Definition AnimSkeleton.cpp:132
int addBone(const std::string &name, int parentIndex=-1)
Append a bone. parentIndex = -1 for root.
Definition AnimSkeleton.cpp:14
Definition Animation.cpp:58
@ Exception
Local TRS used by skeletal animation (quaternion xyzw).
Definition AnimMath.h:9