Assimp  v3.0 (July 2012)
Classes | Namespaces | Enumerations
anim.h File Reference

Defines the data structures in which the imported animations are returned. More...

Classes

struct  aiAnimation
 An animation consists of keyframe data for a number of nodes. More...
struct  aiMeshAnim
 Describes vertex-based animations for a single mesh or a group of meshes. More...
struct  aiMeshKey
 Binds a anim mesh to a specific point in time. 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...
struct  Assimp::Interpolator< T >
 CPP-API: Utility class to simplify interpolations of various data types. More...

Namespaces

namespace  Assimp
 Assimp's CPP-API and all internal APIs.

Enumerations

enum  aiAnimBehaviour {
  aiAnimBehaviour_DEFAULT = 0x0, aiAnimBehaviour_CONSTANT = 0x1, aiAnimBehaviour_LINEAR = 0x2, aiAnimBehaviour_REPEAT = 0x3,
  _aiAnimBehaviour_Force32Bit = 0x8fffffff
}
 Defines how an animation channel behaves outside the defined time range. More...

Detailed Description

Defines the data structures in which the imported animations are returned.


Enumeration Type Documentation

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

This corresponds to aiNodeAnim::mPreState and aiNodeAnim::mPostState.

Enumerator:
aiAnimBehaviour_DEFAULT 

The value from the default node transformation is taken.

aiAnimBehaviour_CONSTANT 

The nearest key value is used without interpolation.

aiAnimBehaviour_LINEAR 

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

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

_aiAnimBehaviour_Force32Bit 

This value is not used, it is just here to force the the compiler to map this enum to a 32 Bit integer.