|
Assimp v5.2.2 (January 2022)
The Asset-Importer-Lib API documentation.
|
A skeleton represents the bone hierarchy of an animation. More...
#include <mesh.h>
Public Member Functions | |
| aiSkeleton () AI_NO_EXCEPT | |
| The class constructor. | |
| ~aiSkeleton () | |
| The class destructor. | |
Public Attributes | |
| C_STRUCT aiSkeletonBone ** | mBones |
| The bone instance in the skeleton. | |
| C_STRUCT aiString | mName |
| The name of the skeleton instance. | |
| unsigned int | mNumBones |
| The number of bones in the skeleton. | |
A skeleton represents the bone hierarchy of an animation.
Skeleton animations can be described as a tree of bones: root | node1 / \ node3 node4 If you want to calculate the transformation of node three you need to compute the transformation hierarchy for the transformation chain of node3: root->node1->node3 Each node is represented as a skeleton instance.
|
inline |
The class constructor.
|
inline |
The class destructor.
| C_STRUCT aiSkeletonBone** aiSkeleton::mBones |
The bone instance in the skeleton.