![]() |
Castor3D 0.17.0
Multiplatform 3D engine
|
#include <BoneNode.hpp>


Public Member Functions | |
| C3D_API | BoneNode (castor::String name, Skeleton &skeleton, castor::Matrix4x4f inverseTransform, uint32_t id) |
| Constructor. | |
| C3D_API castor::BoundingBox | computeBoundingBox (Mesh const &mesh, uint32_t boneIndex) const |
| Computes the bounding box and sphere for the bone, for given mesh. | |
| C3D_API SkeletonNodeUPtr | clone (Skeleton &parent) const override |
| uint32_t | getId () const noexcept |
| castor::Matrix4x4f const & | getInverseTransform () const noexcept |
| void | setInverseTransform (castor::Matrix4x4f value) noexcept |
Public Member Functions inherited from castor3d::SkeletonNode | |
| C3D_API | SkeletonNode (castor::String name, Skeleton &skeleton) |
| Constructor. | |
| virtual C3D_API | ~SkeletonNode () noexcept=default |
| Destructor. | |
| const Skeleton & | getSkeleton () const noexcept |
| SkeletonNode * | getParent () const noexcept |
| SkeletonNodeType | getType () const noexcept |
| NodeTransform const & | getTransform () const noexcept |
| void | setTransform (NodeTransform tranform) noexcept |
Public Member Functions inherited from castor::NamedBaseT< T > | |
| NamedBaseT (T name) noexcept | |
| Constructor. | |
| T const & | getName () const noexcept |
| Retrieves the name. | |
| void | rename (T name) noexcept |
Friends | |
| class | Skeleton |
| class | BinaryWriter< BoneNode > |
| class | BinaryParser< BoneNode > |
| class | BinaryParser< Skeleton > |
Additional Inherited Members | |
Protected Member Functions inherited from castor3d::SkeletonNode | |
| C3D_API | SkeletonNode (SkeletonNodeType type, castor::String name, Skeleton &skeleton) |
| Constructor. | |
| void | doCloneInto (SkeletonNode &output) const |
| Clones this object into the given one. | |
Protected Attributes inherited from castor::NamedBaseT< T > | |
| T | m_name |
| C3D_API castor3d::BoneNode::BoneNode | ( | castor::String | name, |
| Skeleton & | skeleton, | ||
| castor::Matrix4x4f | inverseTransform, | ||
| uint32_t | id ) |
Constructor.
| [in] | name | The bone name. |
| [in] | skeleton | The parent skeleton. |
| [in] | inverseTransform | The transformation matrix from mesh space to bone space. |
| [in] | id | The bone ID. |
Reimplemented from castor3d::SkeletonNode.
| C3D_API castor::BoundingBox castor3d::BoneNode::computeBoundingBox | ( | Mesh const & | mesh, |
| uint32_t | boneIndex ) const |
Computes the bounding box and sphere for the bone, for given mesh.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
friend |
|
friend |
|
friend |
|
friend |