Assimp
v2.0 (November 2010)
|
A single bone of a mesh. More...
Public Member Functions | |
aiBone () | |
Default constructor. | |
aiBone (const aiBone &other) | |
Copy constructor. | |
~aiBone () | |
Destructor - deletes the array of vertex weights. | |
Public Attributes | |
aiString | mName |
The name of the bone. | |
unsigned int | mNumWeights |
The number of vertices affected by this bone The maximum value for this member is AI_MAX_BONE_WEIGHTS. | |
aiMatrix4x4 | mOffsetMatrix |
Matrix that transforms from mesh space to bone space in bind pose. | |
aiVertexWeight * | mWeights |
The vertices affected by this bone. |
A single bone of a mesh.
A bone has a name by which it can be found in the frame hierarchy and by which it can be addressed by animations. In addition it has a number of influences on vertices.
aiBone::aiBone | ( | ) | [inline] |
Default constructor.
aiBone::aiBone | ( | const aiBone & | other | ) | [inline] |
Copy constructor.
aiBone::~aiBone | ( | ) | [inline] |
Destructor - deletes the array of vertex weights.
The name of the bone.
unsigned int aiBone::mNumWeights |
The number of vertices affected by this bone The maximum value for this member is AI_MAX_BONE_WEIGHTS.
Matrix that transforms from mesh space to bone space in bind pose.
The vertices affected by this bone.