![]() |
Public API Reference |
![]() |
By default, csSpriteCal3DMeshObject::Advance() updates the model's via CalModel::update() with the elapsed time since the last advancement. More...
#include <imesh/spritecal3d.h>
Public Member Functions | |
virtual void | UpdatePosition (float delta, CalModel *)=0 |
Given the elapsed time, update the position of the model. |
By default, csSpriteCal3DMeshObject::Advance() updates the model's via CalModel::update() with the elapsed time since the last advancement.
If this simplistic approach is insufficient for your case, you can override the default behavior by providing your own implementation of the iAnimTimeUpdateHandler interface and registering it with iSpriteCal3DState::SetAnimTimeUpdateHandler().
Definition at line 353 of file spritecal3d.h.
virtual void iAnimTimeUpdateHandler::UpdatePosition | ( | float | delta, |
CalModel * | |||
) | [pure virtual] |
Given the elapsed time, update the position of the model.
By default, csSpriteCal3DMeshObject::Advance() updates the model's via CalModel::update(), but you can override this simplistic approach by implementing your own UpdatePosition() method.