Assimp  v3.1.1 (June 2014)
assimp::mesh::aiBone Struct Reference

A single bone of a mesh. More...

Public Attributes

aiString mName
 The name of the bone. More...
 
uint mNumWeights
 The number of vertices affected by this bone. More...
 
aiMatrix4x4 mOffsetMatrix
 Matrix that transforms from mesh space to bone space (in the 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.

Member Data Documentation

§ mName

aiString assimp::mesh::aiBone::mName

The name of the bone.

§ mNumWeights

uint assimp::mesh::aiBone::mNumWeights

The number of vertices affected by this bone.

The maximum value for this member is AI_MAX_BONE_WEIGHTS.

§ mOffsetMatrix

aiMatrix4x4 assimp::mesh::aiBone::mOffsetMatrix

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

§ mWeights

aiVertexWeight* assimp::mesh::aiBone::mWeights

The vertices affected by this bone.

This array is mNumWeights entries in size.


The documentation for this struct was generated from the following file: