My Project
Public Member Functions | Public Attributes | List of all members
ParaEngine::CBVHSerializer::UniBone Struct Reference

Public Member Functions

int GetChildCount ()
 
bool IsUnKnownBone ()
 
float GetBoneLength ()
 
const Vector3GetOffset ()
 get relative offset to the parent bone
 

Public Attributes

int m_nParentIndex
 index of the parent bone
 
vector< int > m_childBones
 array of index of the child bones.
 
int m_nSubBones
 number of bones.
 
int m_nSubLevels
 how many levels are the child objects
 
Vector3 m_vOffsetToParent
 relative offset to the parent bone
 
float m_fBoneLength
 this is a pre-calculated value for |m_vOffsetToParent|
 
Vector3 m_vAbsOffset
 absolute offset in object space.
 
string m_sMarkerName
 maker name for BVH or CSM, default is bone ID.
 
bool m_bCriticalBone
 a bone is a critical bone, if this bone or any of its child has a marker name.
 

The documentation for this struct was generated from the following file: