![]() |
XII Release 0.1.0
|
The skeleton class encapsulates the information about the joint structure for a model. More...
#include <Skeleton.h>
Public Member Functions | |
| xiiSkeleton (xiiSkeleton &&rhs) | |
| void | operator= (xiiSkeleton &&rhs) |
| xiiUInt16 | GetJointCount () const |
| Returns the number of joints in the skeleton. | |
| const xiiSkeletonJoint & | GetJointByIndex (xiiUInt16 uiIndex) const |
| Returns the nth joint. | |
| xiiUInt16 | FindJointByName (const xiiTempHashedString &sName) const |
| Allows to find a specific joint in the skeleton by name. Returns xiiInvalidJointIndex if not found. | |
| void | Save (xiiStreamWriter &inout_stream) const |
| Checks if two skeletons are compatible (same joint count and hierarchy) | |
| void | Load (xiiStreamReader &inout_stream) |
| Loads the skeleton from the given stream. | |
| bool | IsJointDescendantOf (xiiUInt16 uiJoint, xiiUInt16 uiExpectedParent) const |
| const ozz::animation::Skeleton & | GetOzzSkeleton () const |
| xiiUInt64 | GetHeapMemoryUsage () const |
Public Attributes | |
| xiiEnum< xiiBasisAxis > | m_BoneDirection |
| The direction in which the bones shall point for visualization. | |
Protected Attributes | |
| friend | xiiSkeletonBuilder |
| xiiDynamicArray< xiiSkeletonJoint > | m_Joints |
| xiiUniquePtr< ozz::animation::Skeleton > | m_pOzzSkeleton |
The skeleton class encapsulates the information about the joint structure for a model.
| void xiiSkeleton::Save | ( | xiiStreamWriter & | inout_stream | ) | const |
Checks if two skeletons are compatible (same joint count and hierarchy)
Saves the skeleton in a given stream.