Assimp
v2.0 (November 2010)
|
Describes the animation of a single node. More...
Public Member Functions | |
aiNodeAnim () | |
~aiNodeAnim () | |
Public Attributes | |
aiString | mNodeName |
The name of the node affected by this animation. | |
unsigned int | mNumPositionKeys |
The number of position keys. | |
unsigned int | mNumRotationKeys |
The number of rotation keys. | |
unsigned int | mNumScalingKeys |
The number of scaling keys. | |
aiVectorKey * | mPositionKeys |
The position keys of this animation channel. | |
aiAnimBehaviour | mPostState |
Defines how the animation behaves after the last key was processed. | |
aiAnimBehaviour | mPreState |
Defines how the animation behaves before the first key is encountered. | |
aiQuatKey * | mRotationKeys |
The rotation keys of this animation channel. | |
aiVectorKey * | mScalingKeys |
The scaling keys of this animation channel. |
Describes the animation of a single node.
The name specifies the bone/node which is affected by this animation channel. The keyframes are given in three separate series of values, one each for position, rotation and scaling. The transformation matrix computed from these values replaces the node's original transformation matrix at a specific time. This means all keys are absolute and not relative to the bone default pose. The order in which the transformations are applied is
aiNodeAnim::aiNodeAnim | ( | ) | [inline] |
aiNodeAnim::~aiNodeAnim | ( | ) | [inline] |
The name of the node affected by this animation.
The node must exist and it must be unique.
unsigned int aiNodeAnim::mNumPositionKeys |
The number of position keys.
unsigned int aiNodeAnim::mNumRotationKeys |
The number of rotation keys.
unsigned int aiNodeAnim::mNumScalingKeys |
The number of scaling keys.
The position keys of this animation channel.
Positions are specified as 3D vector. The array is mNumPositionKeys in size.
If there are position keys, there will also be at least one scaling and one rotation key.
Defines how the animation behaves after the last key was processed.
The default value is aiAnimBehaviour_DEFAULT (the original transformation matrix of the affected node is taken).
Defines how the animation behaves before the first key is encountered.
The default value is aiAnimBehaviour_DEFAULT (the original transformation matrix of the affected node is used).
The rotation keys of this animation channel.
Rotations are given as quaternions, which are 4D vectors. The array is mNumRotationKeys in size.
If there are rotation keys, there will also be at least one scaling and one position key.
The scaling keys of this animation channel.
Scalings are specified as 3D vector. The array is mNumScalingKeys in size.
If there are scaling keys, there will also be at least one position and one rotation key.