Untold Engine  Beta v0.0.16
docs
U4DEngine::U4DBoneData Class Reference

The U4DBoneData class holds bone information for the 3D entity. More...

Inherits U4DEngine::U4DEntityNode< U4DBoneData >.

Public Member Functions

 U4DBoneData ()
 Constructor for the class.
 
 ~U4DBoneData ()
 Destructor for the class.
 
U4DDualQuaternion getBoneAnimationPoseSpace ()
 Gets the pose animation space of the bone. More...
 
std::string getName ()
 
- Public Member Functions inherited from U4DEngine::U4DEntityNode< U4DBoneData >
 U4DEntityNode ()
 Constructor for the class.
 
 U4DEntityNode (std::string uNodeName)
 
 ~U4DEntityNode ()
 Destructor for the class.
 
void addChild (U4DBoneData *uChild)
 Method which adds a child node to a scenegraph. More...
 
void addChild (U4DBoneData *uChild, U4DBoneData *uNext)
 
void addChild (U4DBoneData *uChild, int uZDepth)
 Method which adds a child entity to a scenegraph at a particular location. More...
 
void removeChild (U4DBoneData *uChild)
 Method which removes a child node from the scenegraph. More...
 
void changeLastDescendant (U4DBoneData *uNewLastDescendant)
 Method which changes the node's last descendant in the scenegraph. More...
 
U4DBoneDatagetFirstChild ()
 Method which returns the node's first child in the scenegraph. More...
 
U4DBoneDatagetLastChild ()
 Method which returns the node's last child in the scenegraph. More...
 
U4DBoneDatagetNextSibling ()
 Method which returns the node's next sibling in the scenegraph. More...
 
U4DBoneDatagetPrevSibling ()
 Method which returns the node's previous sibling in the scenegraph. More...
 
U4DBoneDataprevInPreOrderTraversal ()
 Method which returns the node's previous sibling in pre-order traversal order. More...
 
U4DBoneDatanextInPreOrderTraversal ()
 Method which returns the node's next pointer in pre-order traversal order. More...
 
bool isLeaf ()
 Method which returns true if the node represents a leaf node in the scenegraph. More...
 
bool isRoot ()
 Method which returns true if the node represents a root node in the scenegraph. More...
 
U4DBoneDatagetParent ()
 Gets the parent to the entity. More...
 
U4DBoneDatagetRootParent ()
 Gets the root parent (top parent in the scenegraph) of the entity. More...
 
U4DBoneDatasearchChild (std::string uName)
 

Public Attributes

std::string name
 Name of bone.
 
int index
 Index of bone.
 
U4DDualQuaternion localSpace
 Local space of the bone.
 
U4DDualQuaternion absoluteSpace
 Absolute space of the bone.
 
U4DMatrix4n finalSpaceMatrix
 Final space of the bone. Not currently used. Use finalSpaceMatrix instead. More...
 
U4DDualQuaternion inverseBindPoseSpace
 Inverse bind pose space of the bone.
 
U4DDualQuaternion bindPoseSpace
 Bind pose space of the bone.
 
U4DDualQuaternion restAbsolutePoseSpace
 Absolute space of the bone in rest position.
 
U4DDualQuaternion animationPoseSpace
 Pose space of the bone during animation.
 
std::vector< float > vertexWeightContainer
 Container holding the vertex weights of the bone.
 
- Public Attributes inherited from U4DEngine::U4DEntityNode< U4DBoneData >
U4DBoneDataparent
 Tree parent pointer.
 
U4DBoneDataprevSibling
 Tree previous sibling pointer.
 
U4DBoneDatanext
 Tree next pointer.
 
U4DBoneDatalastDescendant
 Tree last descendant pointer.
 

Detailed Description

The U4DBoneData class holds bone information for the 3D entity.

Member Function Documentation

◆ getBoneAnimationPoseSpace()

U4DDualQuaternion U4DEngine::U4DBoneData::getBoneAnimationPoseSpace ( )

Gets the pose animation space of the bone.

Returns
The pose space animation of the bone

Member Data Documentation

◆ finalSpaceMatrix

U4DMatrix4n U4DEngine::U4DBoneData::finalSpaceMatrix

Final space of the bone. Not currently used. Use finalSpaceMatrix instead.

Final space matrix of the bone