Assimp v5.2.2 (January 2022)
The Asset-Importer-Lib API documentation.
aiSkeletonBone Struct Reference

#include <mesh.h>

Public Member Functions

 aiSkeletonBone ()
 
 ~aiSkeletonBone ()
 

Public Attributes

C_STRUCT aiNodemArmature
 The bone armature node - used for skeleton conversion you must enable aiProcess_PopulateArmatureData to populate this. More...
 
C_STRUCT aiMatrix4x4 mLocalMatrix
 Matrix that transforms the locale bone in bind pose. More...
 
C_STRUCT aiMeshmMeshId
 The mesh index, which will get influenced by the weight. More...
 
C_STRUCT aiNodemNode
 The bone node in the scene - used for skeleton conversion you must enable aiProcess_PopulateArmatureData to populate this. More...
 
unsigned int mNumnWeights
 The number of weights. More...
 
C_STRUCT aiMatrix4x4 mOffsetMatrix
 Matrix that transforms from bone space to mesh space in bind pose. More...
 
int mParent
 The parent bone index, is -1 one if this bone represents the root bone. More...
 
C_STRUCT aiVertexWeightmWeights
 The influence weights of this bone, by vertex index. More...
 

Constructor & Destructor Documentation

◆ aiSkeletonBone()

aiSkeletonBone::aiSkeletonBone ( )
inline

◆ ~aiSkeletonBone()

aiSkeletonBone::~aiSkeletonBone ( )
inline

Member Data Documentation

◆ mArmature

C_STRUCT aiNode* aiSkeletonBone::mArmature

The bone armature node - used for skeleton conversion you must enable aiProcess_PopulateArmatureData to populate this.

◆ mLocalMatrix

C_STRUCT aiMatrix4x4 aiSkeletonBone::mLocalMatrix

Matrix that transforms the locale bone in bind pose.

◆ mMeshId

C_STRUCT aiMesh* aiSkeletonBone::mMeshId

The mesh index, which will get influenced by the weight.

◆ mNode

C_STRUCT aiNode* aiSkeletonBone::mNode

The bone node in the scene - used for skeleton conversion you must enable aiProcess_PopulateArmatureData to populate this.

◆ mNumnWeights

unsigned int aiSkeletonBone::mNumnWeights

The number of weights.

◆ mOffsetMatrix

C_STRUCT aiMatrix4x4 aiSkeletonBone::mOffsetMatrix

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

This matrix describes the position of the mesh in the local space of this bone when the skeleton was bound. Thus it can be used directly to determine a desired vertex position, given the world-space transform of the bone when animated, and the position of the vertex in mesh space.

It is sometimes called an inverse-bind matrix, or inverse bind pose matrix.

◆ mParent

int aiSkeletonBone::mParent

The parent bone index, is -1 one if this bone represents the root bone.

◆ mWeights

C_STRUCT aiVertexWeight* aiSkeletonBone::mWeights

The influence weights of this bone, by vertex index.


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