#include <Bone.hpp>
◆ Bone()
C3D_API castor3d::Bone::Bone |
( |
Skeleton & |
skeleton, |
|
|
castor::Matrix4x4f const & |
offset |
|
) |
| |
|
explicit |
Constructor.
- Parameters
-
[in] | skeleton | The parent skeleton. |
[in] | offset | The transfromation matrix from mesh space to bone space. |
◆ ~Bone()
◆ computeBoundingBox()
C3D_API castor::BoundingBox castor3d::Bone::computeBoundingBox |
( |
Mesh const & |
mesh, |
|
|
uint32_t |
boneIndex |
|
) |
| const |
Computes the bounding box and sphere for each bone, for given mesh.
◆ getAbsoluteOffsetMatrix()
const castor::Matrix4x4f & castor3d::Bone::getAbsoluteOffsetMatrix |
( |
| ) |
const |
|
inline |
- Returns
- The absolute transfromation matrix from mesh space to bone space.
◆ getOffsetMatrix()
const castor::Matrix4x4f & castor3d::Bone::getOffsetMatrix |
( |
| ) |
const |
|
inline |
- Returns
- The transfromation matrix from mesh space to bone space.
◆ getParent()
BoneSPtr castor3d::Bone::getParent |
( |
| ) |
const |
|
inline |
◆ getSkeleton()
const Skeleton & castor3d::Bone::getSkeleton |
( |
| ) |
const |
|
inline |
- Returns
- The parent skeleton.
◆ BinaryParser< Bone >
◆ BinaryWriter< Bone >
◆ Skeleton
The documentation for this class was generated from the following file: