Assimp  v3.1.1 (June 2014)
assimp::animation Namespace Reference

The data structures which are used to store the imported animation data. More...

Classes

struct  aiAnimation
 An animation consists of keyframe data for a number of nodes. More...
 
struct  aiNodeAnim
 Describes the animation of a single node. More...
 
struct  aiQuatKey
 A time-value pair specifying a rotation for the given time. More...
 
struct  aiVectorKey
 A time-value pair specifying a certain 3D vector for the given time. More...
 

Enumerations

enum  aiAnimBehaviour : uint { DEFAULT = 0x0, CONSTANT = 0x1, LINEAR = 0x2, REPEAT = 0x3 }
 Defines how an animation channel behaves outside the defined time range. More...
 

Detailed Description

The data structures which are used to store the imported animation data.

Enumeration Type Documentation

Defines how an animation channel behaves outside the defined time range.

This corresponds to aiNodeAnim.mPreState and aiNodeAnim.mPostState.

Enumerator
DEFAULT 

The value from the default node transformation is used.

CONSTANT 

The nearest key value is used without interpolation.

LINEAR 

The value of the nearest two keys is linearly extrapolated for the current time value.

REPEAT 

The animation is repeated.

If the animation key go from n to m and the current time is t, use the value at (t-n) % (|m-n|).