|
| ATranslationAnimator (const glm::vec2 &from, const glm::vec2 &to={0.f, 0.f}) |
|
void | doAnimation (AView *view, float theta, IRenderer &render) override |
| Does the animation (sets matrix, colors, etc...) More...
|
|
void | setCurve (const std::function< float(float)> &curve) |
|
void | animate (AView *view, IRenderer &render) |
|
void | postRender (AView *view, IRenderer &render) |
|
void | pause () |
|
void | setDuration (float period) |
|
void | setRepeating (bool repeating) |
|
const AView * | getView () const |
|
void | setView (AView *view) |
|
◆ doAnimation()
void ATranslationAnimator::doAnimation |
( |
AView * |
view, |
|
|
float |
theta, |
|
|
IRenderer & |
render |
|
) |
| |
|
overridevirtual |
Does the animation (sets matrix, colors, etc...)
- Parameters
-
theta | animation time value [0;1] where 0 - start of the animation, 1 - end of the animation |
Reimplemented from AAnimator.
The documentation for this class was generated from the following files: