Untold Engine
Beta v0.0.16
docs
|
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... | |
U4DBoneData * | getFirstChild () |
Method which returns the node's first child in the scenegraph. More... | |
U4DBoneData * | getLastChild () |
Method which returns the node's last child in the scenegraph. More... | |
U4DBoneData * | getNextSibling () |
Method which returns the node's next sibling in the scenegraph. More... | |
U4DBoneData * | getPrevSibling () |
Method which returns the node's previous sibling in the scenegraph. More... | |
U4DBoneData * | prevInPreOrderTraversal () |
Method which returns the node's previous sibling in pre-order traversal order. More... | |
U4DBoneData * | nextInPreOrderTraversal () |
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... | |
U4DBoneData * | getParent () |
Gets the parent to the entity. More... | |
U4DBoneData * | getRootParent () |
Gets the root parent (top parent in the scenegraph) of the entity. More... | |
U4DBoneData * | searchChild (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 > | |
U4DBoneData * | parent |
Tree parent pointer. | |
U4DBoneData * | prevSibling |
Tree previous sibling pointer. | |
U4DBoneData * | next |
Tree next pointer. | |
U4DBoneData * | lastDescendant |
Tree last descendant pointer. | |
The U4DBoneData class holds bone information for the 3D entity.
U4DDualQuaternion U4DEngine::U4DBoneData::getBoneAnimationPoseSpace | ( | ) |
Gets the pose animation space of the bone.
U4DMatrix4n U4DEngine::U4DBoneData::finalSpaceMatrix |
Final space of the bone. Not currently used. Use finalSpaceMatrix instead.
Final space matrix of the bone