Helper class for the 3DS and ASE loaders to compute camera and spot light animations.
More...
#include <TargetAnimation.h>
Helper class for the 3DS and ASE loaders to compute camera and spot light animations.
3DS and ASE store the differently to Assimp - there is an animation channel for the camera/spot light itself and a separate position animation channels specifying the position of the camera/spot light look-at target
◆ TargetAnimationHelper()
| Assimp::TargetAnimationHelper::TargetAnimationHelper |
( |
| ) |
|
|
inline |
◆ Process()
| void TargetAnimationHelper::Process |
( |
std::vector< aiVectorKey > * |
distanceTrack | ) |
|
Computes final animation channels.
- Parameters
-
| distanceTrack | Receive camera translation keys ... != NULL. |
◆ SetFixedMainAnimationChannel()
| void TargetAnimationHelper::SetFixedMainAnimationChannel |
( |
const aiVector3D & |
fixed | ) |
|
Sets the main animation channel to a fixed value.
- Parameters
-
| fixed | Fixed value for the main animation channel |
◆ SetMainAnimationChannel()
| void TargetAnimationHelper::SetMainAnimationChannel |
( |
const std::vector< aiVectorKey > * |
objectPositions | ) |
|
Sets the main animation channel.
- Parameters
-
| objectPositions | Translation channel |
◆ SetTargetAnimationChannel()
| void TargetAnimationHelper::SetTargetAnimationChannel |
( |
const std::vector< aiVectorKey > * |
targetPositions | ) |
|
Sets the target animation channel.
This channel specifies the position of the camera/spot light target at a specific position.
- Parameters
-
| targetPositions | Translation channel |
The documentation for this class was generated from the following files: