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

Describes vertex-based animations for a single mesh or a group of meshes. More...

#include <anim.h>

Public Member Functions

 aiMeshAnim () AI_NO_EXCEPT
 
 ~aiMeshAnim ()
 

Public Attributes

C_STRUCT aiMeshKeymKeys
 Key frames of the animation. More...
 
C_STRUCT aiString mName
 Name of the mesh to be animated. More...
 
unsigned int mNumKeys
 Size of the mKeys array. More...
 

Detailed Description

Describes vertex-based animations for a single mesh or a group of meshes.

Meshes carry the animation data for each frame in their aiMesh::mAnimMeshes array. The purpose of aiMeshAnim is to define keyframes linking each mesh attachment to a particular point in time.

Constructor & Destructor Documentation

◆ aiMeshAnim()

aiMeshAnim::aiMeshAnim ( )
inline

◆ ~aiMeshAnim()

aiMeshAnim::~aiMeshAnim ( )
inline

Member Data Documentation

◆ mKeys

C_STRUCT aiMeshKey* aiMeshAnim::mKeys

Key frames of the animation.

May not be nullptr.

◆ mName

C_STRUCT aiString aiMeshAnim::mName

Name of the mesh to be animated.

An empty string is not allowed, animated meshes need to be named (not necessarily uniquely, the name can basically serve as wild-card to select a group of meshes with similar animation setup)

◆ mNumKeys

unsigned int aiMeshAnim::mNumKeys

Size of the mKeys array.

Must be 1, at least.


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