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

A skeleton represents the bone hierarchy of an animation. More...

#include <mesh.h>

Public Member Functions

 aiSkeleton () AI_NO_EXCEPT
 The class constructor.
 
 ~aiSkeleton ()
 The class destructor.
 

Public Attributes

C_STRUCT aiSkeletonBone ** mBones
 The bone instance in the skeleton.
 
C_STRUCT aiString mName
 The name of the skeleton instance.
 
unsigned int mNumBones
 The number of bones in the skeleton.
 

Detailed Description

A skeleton represents the bone hierarchy of an animation.

Skeleton animations can be described as a tree of bones: root | node1 / \ node3 node4 If you want to calculate the transformation of node three you need to compute the transformation hierarchy for the transformation chain of node3: root->node1->node3 Each node is represented as a skeleton instance.

Constructor & Destructor Documentation

◆ aiSkeleton()

aiSkeleton::aiSkeleton ( )
inline

The class constructor.

◆ ~aiSkeleton()

aiSkeleton::~aiSkeleton ( )
inline

The class destructor.

Member Data Documentation

◆ mBones

C_STRUCT aiSkeletonBone** aiSkeleton::mBones

The bone instance in the skeleton.

◆ mName

C_STRUCT aiString aiSkeleton::mName

The name of the skeleton instance.

◆ mNumBones

unsigned int aiSkeleton::mNumBones

The number of bones in the skeleton.


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