Assimp: aiBone Struct Reference

assimp - Open Asset Import Library

A single bone of a mesh. More...

Public Member Functions

 aiBone ()
 Default constructor. More...
 
 aiBone (const aiBone &other)
 Copy constructor. More...
 
 ~aiBone ()
 Destructor - deletes the array of vertex weights. More...
 

Public Attributes

aiString mName
 The name of the bone. More...
 
unsigned int mNumWeights
 The number of vertices affected by this bone The maximum value for this member is AI_MAX_BONE_WEIGHTS. More...
 
aiMatrix4x4 mOffsetMatrix
 Matrix that transforms from mesh space to bone space in bind pose. More...
 
aiVertexWeightmWeights
 The vertices affected by this bone. More...
 

Detailed Description

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.

Constructor & Destructor Documentation

aiBone::aiBone ( )
inline

Default constructor.

aiBone::aiBone ( const aiBone other)
inline

Copy constructor.

aiBone::~aiBone ( )
inline

Destructor - deletes the array of vertex weights.

Member Data Documentation

aiString aiBone::mName

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.

aiMatrix4x4 aiBone::mOffsetMatrix

Matrix that transforms from mesh space to bone space in bind pose.

aiVertexWeight* aiBone::mWeights

The vertices affected by this bone.

The documentation for this struct was generated from the following file:
Generated on Sun Feb 21 2016 19:42:29 for Assimp by   doxygen 1.8.11