Class Easing
Base class facilitating the implementation of easing functions.
Assembly: Dalamud.dll
View Source
public abstract class Easing
Derived:
Expand
Dalamud.Interface.Animation.EasingFunctions.InCirc, Dalamud.Interface.Animation.EasingFunctions.InCubic, Dalamud.Interface.Animation.EasingFunctions.InElastic, Dalamud.Interface.Animation.EasingFunctions.InOutCirc, Dalamud.Interface.Animation.EasingFunctions.InOutCubic, Dalamud.Interface.Animation.EasingFunctions.InOutElastic, Dalamud.Interface.Animation.EasingFunctions.InOutQuint, Dalamud.Interface.Animation.EasingFunctions.InOutSine, Dalamud.Interface.Animation.EasingFunctions.InQuint, Dalamud.Interface.Animation.EasingFunctions.InSine, Dalamud.Interface.Animation.EasingFunctions.OutCirc, Dalamud.Interface.Animation.EasingFunctions.OutCubic, Dalamud.Interface.Animation.EasingFunctions.OutElastic, Dalamud.Interface.Animation.EasingFunctions.OutQuint, Dalamud.Interface.Animation.EasingFunctions.OutSine
Properties
Point1
Gets or sets the origin point of the animation.
View Source
public Vector2? Point1 { get; set; }
Point2
Gets or sets the destination point of the animation.
View Source
public Vector2? Point2 { get; set; }
EasedPoint
Gets the resulting point at the current timestep.
View Source
public Vector2 EasedPoint { get; }
IsInverse
Gets or sets a value indicating whether the result of the easing should be inversed.
View Source
public bool IsInverse { get; set; }
Value
Gets or sets the current value of the animation, from 0 to 1.
View Source
public double Value { get; protected set; }
Duration
Gets or sets the duration of the animation.
View Source
public TimeSpan Duration { get; set; }
IsRunning
Gets a value indicating whether or not the animation is running.
View Source
public bool IsRunning { get; }
IsDone
Gets a value indicating whether or not the animation is done.
View Source
public bool IsDone { get; }
Progress
Gets the progress of the animation, from 0 to 1.
View Source
protected double Progress { get; }
Methods
Start()
Starts the animation from where it was last stopped, or from the start if it was never started before.
View Source
public void Start()
Stop()
Stops the animation at the current point.
View Source
public void Stop()
Restart()
Restarts the animation.
View Source
public void Restart()
Reset()
Resets the animation.
View Source
public void Reset()
Update()
Updates the animation.
View Source
public abstract void Update()