#include <JointAnimator.h>
Public Member Functions | |
| JointAnimator (void) | |
| virtual | ~JointAnimator (void) |
| void | Transmit (const cl7::string_type &joint_identifier, models::ModelInstance *model_instance, const ml7::Quaternion &rotation, const ml7::Vector3 &translation) const |
| virtual void | Update (float progress, ml7::Quaternion &rotation, ml7::Vector3 &translation) const |
| xl7::direct3d::animations::JointAnimator::JointAnimator | ( | void | ) |
Default constructor.
| xl7::direct3d::animations::JointAnimator::~JointAnimator | ( | void | ) | [virtual] |
Destructor.
| void xl7::direct3d::animations::JointAnimator::Transmit | ( | const cl7::string_type & | joint_identifier, | |
| models::ModelInstance * | model_instance, | |||
| const ml7::Quaternion & | rotation, | |||
| const ml7::Vector3 & | translation | |||
| ) | const |
Transmits the given (updated) rotation and translation to the joint associated with the given identifier of the given model instance.
| void xl7::direct3d::animations::JointAnimator::Update | ( | float | progress, | |
| ml7::Quaternion & | rotation, | |||
| ml7::Vector3 & | translation | |||
| ) | const [virtual] |
Updates the given rotation quaternion and the given translation vector. Override this function to substantiate the desired animation behavior.
Reimplemented in xl7::direct3d::animations::JointAnimatorUsingCallback, and xl7::direct3d::animations::JointAnimatorUsingScript.
1.7.1