|
Assimp v5.2.2 (January 2022)
The Asset-Importer-Lib API documentation.
|
An animation consists of key-frame data for a number of nodes. More...
#include <anim.h>
Public Member Functions | |
| aiAnimation () AI_NO_EXCEPT | |
| ~aiAnimation () | |
Public Attributes | |
| C_STRUCT aiNodeAnim ** | mChannels |
| The node animation channels. | |
| double | mDuration |
| Duration of the animation in ticks. | |
| C_STRUCT aiMeshAnim ** | mMeshChannels |
| The mesh animation channels. | |
| C_STRUCT aiMeshMorphAnim ** | mMorphMeshChannels |
| The morph mesh animation channels. | |
| C_STRUCT aiString | mName |
| The name of the animation. | |
| unsigned int | mNumChannels |
| The number of bone animation channels. | |
| unsigned int | mNumMeshChannels |
| The number of mesh animation channels. | |
| unsigned int | mNumMorphMeshChannels |
| The number of mesh animation channels. | |
| double | mTicksPerSecond |
| Ticks per second. | |
An animation consists of key-frame data for a number of nodes.
For each node affected by the animation a separate series of data is given.
|
inline |
|
inline |
| C_STRUCT aiNodeAnim** aiAnimation::mChannels |
The node animation channels.
Each channel affects a single node. The array is mNumChannels in size.
| double aiAnimation::mDuration |
Duration of the animation in ticks.
| C_STRUCT aiMeshAnim** aiAnimation::mMeshChannels |
The mesh animation channels.
Each channel affects a single mesh. The array is mNumMeshChannels in size.
| C_STRUCT aiMeshMorphAnim** aiAnimation::mMorphMeshChannels |
The morph mesh animation channels.
Each channel affects a single mesh. The array is mNumMorphMeshChannels in size.
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).
The number of bone animation channels.
Each channel affects a single node.
The number of mesh animation channels.
Each channel affects a single mesh and defines vertex-based animation.
The number of mesh animation channels.
Each channel affects a single mesh and defines morphing animation.
| double aiAnimation::mTicksPerSecond |
Ticks per second.
0 if not specified in the imported file