Assimp  v3.0 (July 2012)
Public Member Functions | Public Attributes
aiBone Struct Reference

A single bone of a mesh. More...

List of all members.

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.
aiVertexWeightmWeights
 The vertices affected by this bone.

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: