TweenOptions
Namespace: MonineEngine.Mathematics.Tweening
Contains properties for a Tween<T> instance.
public class TweenOptions
Inheritance Object → TweenOptions
Fields
Method
The TweenMethod of the Tween<T>. Defaults to TweenMethod.OneShot.
public TweenMethod Method;
EaseType
The type of easing to use for the Tween<T>. Defaults to TweenEaseType.Linear.
public TweenEaseType EaseType;
Delay
The delay between loops after the Tween<T> completes. Does not always apply. See Tween.Delay for more info. Defaults to 0.
public float Delay;
OnBegin
An optional callback to trigger when the Tween<T> begins.
public Action<Tween> OnBegin;
OnUpdate
An optional callback to trigger when the Tween<T> updates. This is called right after the tween updates the member.
public Action<Tween> OnUpdate;
OnComplete
An optional callback to trigger when the Tween<T> completes.
public Action<Tween> OnComplete;
Constructors
TweenOptions()
public TweenOptions()