Path Tracer
Public Attributes | List of all members
aiMeshAnim Struct Reference

#include <anim.h>

Public Attributes

C_STRUCT aiString mName
 
unsigned int mNumKeys
 
C_STRUCT aiMeshKeymKeys
 

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.

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: