Motions are used to animate properties of nodes or any other type of objects. The motions are powered by an MotionController, typically associated with a Node. The most commonly used motion is the MotionTween which interpolates a property between two values over time.
Invocation invocation ) → dynamic
Invoked when a non-existent method or property is accessed. [...]
double dt ) → void
Moves to the next time step in an motion,
dtis the delta time since the last time step in seconds. Typically this method is called from the MotionController.
) → String
Returns a string representation of this object.
double t ) → void
Sets the motion to a specific point in time. The
tvalue that is passed in is a normalized value 0.0 to 1.0 of the duration of the motion. Every motion will always recieve a callback with the end time point (1.0), unless it is cancelled.