Path Tracer
Classes | Macros | Enumerations
anim.h File Reference

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

#include <assimp/quaternion.h>
#include <assimp/types.h>

Go to the source code of this file.

Classes

struct  aiVectorKey
 
struct  aiQuatKey
 
struct  aiMeshKey
 
struct  aiMeshMorphKey
 
struct  aiNodeAnim
 
struct  aiMeshAnim
 
struct  aiMeshMorphAnim
 
struct  aiAnimation
 

Enumerations

enum  aiAnimBehaviour {
  aiAnimBehaviour_DEFAULT = 0x0, aiAnimBehaviour_CONSTANT = 0x1, aiAnimBehaviour_LINEAR = 0x2, aiAnimBehaviour_REPEAT = 0x3,
  _aiAnimBehaviour_Force32Bit = INT_MAX
}
 

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