GraphicsAPI_2020C
Classes | Macros | Enumerations
anim.h File Reference

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

#include <assimp/types.h>
#include <assimp/quaternion.h>
Include dependency graph for anim.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  aiVectorKey
 A time-value pair specifying a certain 3D vector for the given time. More...
 
struct  aiQuatKey
 A time-value pair specifying a rotation for the given time. More...
 
struct  aiMeshKey
 Binds a anim mesh to a specific point in time. More...
 
struct  aiMeshMorphKey
 Binds a morph anim mesh to a specific point in time. More...
 
struct  aiNodeAnim
 Describes the animation of a single node. More...
 
struct  aiMeshAnim
 Describes vertex-based animations for a single mesh or a group of meshes. More...
 
struct  aiMeshMorphAnim
 Describes a morphing animation of a given mesh. More...
 
struct  aiAnimation
 An animation consists of key-frame data for a number of nodes. More...
 

Enumerations

enum  aiAnimBehaviour {
  aiAnimBehaviour_DEFAULT = 0x0, aiAnimBehaviour_CONSTANT = 0x1, aiAnimBehaviour_LINEAR = 0x2, aiAnimBehaviour_REPEAT = 0x3,
  _aiAnimBehaviour_Force32Bit = INT_MAX
}
 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

◆ aiAnimBehaviour

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.