Class holding bone data.
More...
Class holding bone data.
- Author
- Sylvain DOREMUS
- Date
- 26/06/2013
- Version
- 0.7.0
◆ Bone()
C3D_API Castor3D::Bone::Bone |
( |
Skeleton & |
p_skeleton | ) |
|
Constructor.
- Parameters
-
[in] | p_skeleton | The parent skeleton |
◆ ~Bone()
C3D_API Castor3D::Bone::~Bone |
( |
| ) |
|
◆ GetChildren()
BonePtrArray const& Castor3D::Bone::GetChildren |
( |
| ) |
const |
|
inline |
- Returns
- The children array.
◆ GetFinalTransformation()
const Castor::Matrix4x4r& Castor3D::Bone::GetFinalTransformation |
( |
| ) |
const |
|
inline |
Retrieves final transformation matrix for current animation time.
- Returns
- The value
◆ GetName()
Castor::String const& Castor3D::Bone::GetName |
( |
| ) |
const |
|
inline |
Retrieves the bone name.
- Returns
- The value
◆ GetOffsetMatrix()
const Castor::Matrix4x4r& Castor3D::Bone::GetOffsetMatrix |
( |
| ) |
const |
|
inline |
Retrieves the transfromation matrix from mesh space to bone space.
- Returns
- The value
◆ GetParent()
BoneSPtr Castor3D::Bone::GetParent |
( |
| ) |
const |
|
inline |
◆ GetSkeleton()
const Skeleton& Castor3D::Bone::GetSkeleton |
( |
| ) |
const |
|
inline |
Retrieves the parent skeleton.
- Returns
- The value
◆ SetFinalTransformation()
void Castor3D::Bone::SetFinalTransformation |
( |
const Castor::Matrix4x4r & |
p_mtx | ) |
|
|
inline |
Sets final transformation for current animation time.
- Parameters
-
◆ SetName()
void Castor3D::Bone::SetName |
( |
Castor::String const & |
p_name | ) |
|
|
inline |
Sets the bone name.
- Parameters
-
◆ SetOffsetMatrix()
void Castor3D::Bone::SetOffsetMatrix |
( |
const Castor::Matrix4x4r & |
p_offset | ) |
|
|
inline |
Sets the transfromation matrix from mesh space to bone space.
- Parameters
-
[in] | p_offset | The new value |
◆ TraverseHierarchy()
template<typename FuncT >
void Castor3D::Bone::TraverseHierarchy |
( |
FuncT |
p_function | ) |
|
|
inline |
Traverses bone hierarchy and applies given function to each bone.
- Parameters
-
[in] | p_function | The function to apply. |
◆ Skeleton
The documentation for this class was generated from the following file:
- Z:/Projets/C++/Castor3D/source/Core/Castor3D/Src/Bone.hpp