MoveAnimation

An object of smooth movement of an object along a function in a template.

The function should contain the parameters of the motion step and the animation step, for example:

void moveFunction(ref float step, const float k) @safe nothrow pure;

Constructors

this
this(Vecf vec)

Animation constructor.

Members

Functions

animation
void animation(float k)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

direction
Vecf direction;
Undocumented in source.
distance
float distance;
Undocumented in source.

Inherited Members

From IAnimated

animation
void animation(float k)

Object animation function. Through such a call and a coefficient argument, an animation is produced.

Meta