Assimp  v2.0 (November 2010)
Public Member Functions | Public Attributes
aiAnimation Struct Reference

An animation consists of keyframe data for a number of nodes. More...

List of all members.

Public Member Functions

 aiAnimation ()
 ~aiAnimation ()

Public Attributes

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

Detailed Description

An animation consists of keyframe 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 ( ) [inline]
aiAnimation::~aiAnimation ( ) [inline]

Member Data Documentation

The node animation channels.

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

Duration of the animation in ticks.

The mesh animation channels.

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

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).

The number of bone animation channels.

Each channel affects a single node.

The number of mesh animation channels.

Each channel affects a single mesh and defines vertex-based animation.

Ticks per second.

0 if not specified in the imported file


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