|
Castor3D
..
|
The skeleton, holds each bone. More...
Inheritance diagram for Castor3D::Skeleton:
Collaboration diagram for Castor3D::Skeleton:Public Member Functions | |
| C3D_API | Skeleton () |
| Constructor. More... | |
| C3D_API | ~Skeleton () |
| Destructor. More... | |
| C3D_API void | AddBone (BoneSPtr p_bone) |
| Adds a bone to the skeleton. More... | |
| C3D_API void | SetBoneParent (BoneSPtr p_bone, BoneSPtr p_parent) |
| Adds a bone to another bone's children. More... | |
| template<typename FuncT > | |
| void | TraverseHierarchy (FuncT p_function) |
| Traverses bone hierarchy and applies given function to each bone. More... | |
| Castor::Matrix4x4r const & | GetGlobalInverseTransform () const |
| Retrieves the global inverse transform. More... | |
| void | SetGlobalInverseTransform (Castor::Matrix4x4r const &p_transform) |
| Sets the global inverse transform. More... | |
Public Member Functions inherited from Castor3D::Animable | |
| C3D_API AnimationSPtr | CreateAnimation (Castor::String const &p_name) |
| Creates an animation. More... | |
| C3D_API void | CleanupAnimations () |
| Empties the animations map. More... | |
| C3D_API AnimationSPtr | GetAnimation (Castor::String const &p_name) |
| Retrieves an animation. More... | |
| AnimationPtrStrMap const & | GetAnimations () const |
Additional Inherited Members | |
Protected Member Functions inherited from Castor3D::Animable | |
| Animable () | |
| Constructor. More... | |
| ~Animable () | |
| Destructor. More... | |
Protected Attributes inherited from Castor3D::Animable | |
| AnimationPtrStrMap | m_animations |
| All animations. More... | |
The skeleton, holds each bone.
| C3D_API Castor3D::Skeleton::Skeleton | ( | ) |
Constructor.
| C3D_API Castor3D::Skeleton::~Skeleton | ( | ) |
Destructor.
| C3D_API void Castor3D::Skeleton::AddBone | ( | BoneSPtr | p_bone | ) |
Adds a bone to the skeleton.
| [in] | p_bone | The bone. |
|
inline |
Retrieves the global inverse transform.
| C3D_API void Castor3D::Skeleton::SetBoneParent | ( | BoneSPtr | p_bone, |
| BoneSPtr | p_parent | ||
| ) |
Adds a bone to another bone's children.
| [in] | p_bone | The bone. |
| [in] | p_parent | The parent bone. |
|
inline |
Sets the global inverse transform.
| [in] | p_transform | The new value |
|
inline |
Traverses bone hierarchy and applies given function to each bone.
| [in] | p_function | The function to apply. |
1.8.15