TweenMethod
Namespace: MonineEngine.Mathematics.Tweening
Defines how a Tween<T> behaves while executing.
public enum TweenMethod
Inheritance Object → ValueType → Enum → TweenMethod
Implements IComparable, ISpanFormattable, IFormattable, IConvertible
Fields
| Name | Value | Description |
|---|---|---|
| OneShot | 0 | Plays the Tween<T> once, and deletes it upon completion. |
| Persist | 1 | Plays the Tween<T> once, and keeps it attached to the container. This can be used to keep a reference of the Tween<T> after completion, and call Start() anytime. |
| Looping | 2 | Plays the Tween<T> until stopped, going back to the start and replaying upon completion. |
| PingPong | 3 | Identical to TweenMethod.Looping, but every second execution is in reverse direction. |
| BackwardOneShot | 4 | Identical to TweenMethod.OneShot, except it executes the tween backwards. |
| BackwardPersist | 5 | Identical to TweenMethod.Persist, except it executes the tween backwards. |