Tweening
Static Class in Zigurous.Tweening
Declaration
public static class TweeningDescription
The primary interface to create, control, and manage tweens.
Static Properties
| Count | The number of tweens currently alive. This includes tweens that have been recycled and are not currently active (Read only). |
| ActiveCount | The number of tweens that are currently alive and active (Read only). |
Static Methods
| To<T> | Creates a tween that animates a parameter to a given end value over a set duration. |
| To<T, U> | Creates a tween that animates a parameter on an object to a given end value over a set duration. |
| From<T> | Creates a tween that animates a parameter from a given end value to the current value over a set duration. |
| From<T, U> | Creates a tween that animates a parameter on an object from a given end value to the current value over a set duration. |
| Sequence | Creates a new, empty tween sequence. |
| PlayAll | Plays all active tweens. |
| Play | Plays any alive tween that matches the given id. |
| Play<T> | Plays any alive tween that is animating the given target object. |
| StopAll | Stops all active tweens. |
| Stop | Stops any alive tween that matches the given id. |
| Stop<T> | Stops any alive tween that is animating the given target object. |
| RestartAll | Restarts all active tweens. |
| Restart | Restarts any alive tween that matches the given id. |
| Restart<T> | Restarts any alive tween that is animating the given target object. |
| CompleteAll | Completes all active tweens. |
| Complete | Completes any alive tween that matches the given id. |
| Complete<T> | Completes any alive tween that is animating the given target object. |
| KillAll | Kills all active tweens. Optionally, the tweens can be completed before being killed. |
| Kill | Kills any alive tween that matches the given id. Optionally, the tweens can be completed before being killed. |