Public Member Functions | |
TimeBasedInterpolator (float totalTime) | |
void | reset () |
void | update (float deltaTime) |
Protected Member Functions | |
virtual void | calculate ()=0 |
Protected Attributes | |
float | elapsedTime |
float | totalTime |
|
Create a new TimeBasedInterpolator.
|
|
Reset the timer, this causes the Interpolator to start over. |
|
Update the Timer.
Implements ui::util::Interpolator. |
|
Calculate the interpolation. Implemented in ui::util::LinearTimeInterpolator. |