Assimp  v3.1.1 (June 2014)
aiAnimation Struct Reference

An animation consists of key-frame data for a number of nodes. More...

Public Member Functions

 aiAnimation ()
 
 ~aiAnimation ()
 

Public Attributes

aiNodeAnim ** mChannels
 The node animation channels. More...
 
double mDuration
 Duration of the animation in ticks. More...
 
aiMeshAnim ** mMeshChannels
 The mesh animation channels. More...
 
aiMeshMorphAnim ** mMorphMeshChannels
 The morph mesh animation channels. More...
 
aiString mName
 The name of the animation. More...
 
unsigned int mNumChannels
 The number of bone animation channels. More...
 
unsigned int mNumMeshChannels
 The number of mesh animation channels. More...
 
unsigned int mNumMorphMeshChannels
 The number of mesh animation channels. More...
 
double mTicksPerSecond
 Ticks per second. More...
 

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.

Constructor & Destructor Documentation

◆ aiAnimation()

aiAnimation::aiAnimation ( )
inline

◆ ~aiAnimation()

aiAnimation::~aiAnimation ( )
inline

Member Data Documentation

◆ mChannels

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

aiMeshAnim** aiAnimation::mMeshChannels

The mesh animation channels.

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

◆ mMorphMeshChannels

aiMeshMorphAnim** aiAnimation::mMorphMeshChannels

The morph mesh animation channels.

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

◆ mName

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: