#include <JointAnimatorUsingCallback.h>
Public Types | |
| typedef void(* | UpdateCallback )(float progress, ml7::Quaternion &rotation, ml7::Vector3 &translation) |
Public Member Functions | |
| JointAnimatorUsingCallback (UpdateCallback update_callback) | |
| virtual | ~JointAnimatorUsingCallback (void) |
| UpdateCallback | GetUpdateCallback () const |
| void | Update (float progress, ml7::Quaternion &rotation, ml7::Vector3 &translation) const |
| typedef void(* xl7::direct3d::animations::JointAnimatorUsingCallback::UpdateCallback)(float progress, ml7::Quaternion &rotation, ml7::Vector3 &translation) |
| xl7::direct3d::animations::JointAnimatorUsingCallback::JointAnimatorUsingCallback | ( | UpdateCallback | update_callback | ) |
Explicit constructor.
| xl7::direct3d::animations::JointAnimatorUsingCallback::~JointAnimatorUsingCallback | ( | void | ) | [virtual] |
Destructor.
| UpdateCallback xl7::direct3d::animations::JointAnimatorUsingCallback::GetUpdateCallback | ( | ) | const [inline] |
Returns the callback function performing the update actions.
| void xl7::direct3d::animations::JointAnimatorUsingCallback::Update | ( | float | progress, | |
| ml7::Quaternion & | rotation, | |||
| ml7::Vector3 & | translation | |||
| ) | const [virtual] |
Updates the given rotation quaternion and the given translation vector.
Updates the given rotation quaternion and the given translation vector. Override this function to substantiate the desired animation behavior.
Reimplemented from xl7::direct3d::animations::JointAnimator.
1.7.1