Assimp
v4.1. (December 2018)
|
An animation. More...
Public Member Functions | |
List< AiNodeAnim > | getChannels () |
Returns the list of bone animation channels. More... | |
double | getDuration () |
Returns the duration of the animation in ticks. More... | |
List< AiMeshAnim > | getMeshChannels () |
Returns the list of mesh animation channels. More... | |
String | getName () |
Returns the name of the animation. More... | |
int | getNumChannels () |
Returns the number of bone animation channels. More... | |
int | getNumMeshChannels () |
Returns the number of mesh animation channels. More... | |
double | getTicksPerSecond () |
Returns the ticks per second. More... | |
An animation.
An animation consists of keyframe data for a number of nodes. For each node affected by the animation a separate series of data is given.
Like AiMesh, the animation related classes offer a Buffer API, a Direct API and a wrapped API. Please consult the documentation of AiMesh for a description and comparison of these APIs.
|
inline |
Returns the list of bone animation channels.
Each channel affects a single node. The array is mNumChannels in size.
|
inline |
Returns the duration of the animation in ticks.
|
inline |
Returns the list of mesh animation channels.
Each channel affects a single mesh.
|
inline |
Returns the name of the animation.
If the modeling package this data was exported from does support only a single animation channel, this name is usually empty (length is zero).
|
inline |
Returns the number of bone animation channels.
Each channel affects a single node. This method will return the same value as getChannels().size()
|
inline |
Returns the number of mesh animation channels.
Each channel affects a single mesh and defines vertex-based animation. This method will return the same value as getMeshChannels().size()
|
inline |
Returns the ticks per second.
0 if not specified in the imported file