Assimp v5.2.2 (January 2022)
The Asset-Importer-Lib API documentation.
anim.h File Reference

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

Classes

struct  aiAnimation
 An animation consists of key-frame 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  aiMeshMorphAnim
 Describes a morphing animation of a given mesh. 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  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
 Some C++ utilities for inter- and extrapolation.
 

Macros

#define AI_ANIM_H_INC
 

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.

Macro Definition Documentation

◆ AI_ANIM_H_INC

#define AI_ANIM_H_INC

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