Urho3D
|
Hierarchical collection of bones. More...
#include <Skeleton.h>
Public Member Functions | |
Skeleton () | |
Construct an empty skeleton. | |
~Skeleton () | |
Destruct. | |
bool | Load (Deserializer &source) |
Read from a stream. Return true if successful. | |
bool | Save (Serializer &dest) |
Write to a stream. Return true if successful. | |
void | Define (const Skeleton &src) |
Define from another skeleton. | |
void | ClearBones () |
Clear bones. | |
void | Reset () |
Reset all animating bones to initial positions. | |
const Vector< Bone > & | GetBones () const |
Return all bones. | |
Vector< Bone > & | GetModifiableBones () |
Return modifiable bones. | |
unsigned | GetNumBones () const |
Return number of bones. | |
Bone * | GetRootBone () |
Return root bone. | |
Bone * | GetBone (unsigned index) |
Return bone by index. | |
Bone * | GetBone (const String &boneName) |
Return bone by name. | |
Bone * | GetBone (StringHash boneNameHash) |
Return bone by name hash. |
Private Attributes | |
Vector< Bone > | bones_ |
Bones. | |
unsigned | rootBoneIndex_ |
Root bone index. |
Hierarchical collection of bones.