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

#include <anim.h>

Public Attributes

C_STRUCT aiString mName
 
double mDuration
 
double mTicksPerSecond
 
unsigned int mNumChannels
 
C_STRUCT aiNodeAnim ** mChannels
 
unsigned int mNumMeshChannels
 
C_STRUCT aiMeshAnim ** mMeshChannels
 
unsigned int mNumMorphMeshChannels
 
C_STRUCT aiMeshMorphAnim ** mMorphMeshChannels
 

Detailed Description

An animation consists of key-frame data for a number of nodes. For each node affected by the animation a separate series of data is given.

Member Data Documentation

◆ mChannels

C_STRUCT aiNodeAnim** aiAnimation::mChannels

The node animation channels. Each channel affects a single node. The array is mNumChannels in size.

◆ mDuration

double aiAnimation::mDuration

Duration of the animation in ticks.

◆ mMeshChannels

C_STRUCT aiMeshAnim** aiAnimation::mMeshChannels

The mesh animation channels. Each channel affects a single mesh. The array is mNumMeshChannels in size.

◆ mMorphMeshChannels

C_STRUCT aiMeshMorphAnim** aiAnimation::mMorphMeshChannels

The morph mesh animation channels. Each channel affects a single mesh. The array is mNumMorphMeshChannels in size.

◆ mName

C_STRUCT aiString aiAnimation::mName

The name of the animation. If the modeling package this data was exported from does support only a single animation channel, this name is usually empty (length is zero).

◆ mNumChannels

unsigned int aiAnimation::mNumChannels

The number of bone animation channels. Each channel affects a single node.

◆ mNumMeshChannels

unsigned int aiAnimation::mNumMeshChannels

The number of mesh animation channels. Each channel affects a single mesh and defines vertex-based animation.

◆ mNumMorphMeshChannels

unsigned int aiAnimation::mNumMorphMeshChannels

The number of mesh animation channels. Each channel affects a single mesh and defines morphing animation.

◆ mTicksPerSecond

double aiAnimation::mTicksPerSecond

Ticks per second. 0 if not specified in the imported file


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