Skip to main content

Class Easing

Base class facilitating the implementation of easing functions.

Assembly: Dalamud.dll
View Source
Declaration
public abstract class Easing

Derived:

Expand

Properties

Point1

Gets or sets the origin point of the animation.

View Source
Declaration
public Vector2? Point1 { get; set; }

Point2

Gets or sets the destination point of the animation.

View Source
Declaration
public Vector2? Point2 { get; set; }

EasedPoint

Gets the resulting point at the current timestep.

View Source
Declaration
public Vector2 EasedPoint { get; }

IsInverse

Gets or sets a value indicating whether the result of the easing should be inversed.

View Source
Declaration
public bool IsInverse { get; set; }

Value

Gets or sets the current value of the animation, from 0 to 1.

View Source
Declaration
public double Value { get; protected set; }

Duration

Gets or sets the duration of the animation.

View Source
Declaration
public TimeSpan Duration { get; set; }

IsRunning

Gets a value indicating whether or not the animation is running.

View Source
Declaration
public bool IsRunning { get; }

IsDone

Gets a value indicating whether or not the animation is done.

View Source
Declaration
public bool IsDone { get; }

Progress

Gets the progress of the animation, from 0 to 1.

View Source
Declaration
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
Declaration
public void Start()

Stop()

Stops the animation at the current point.

View Source
Declaration
public void Stop()

Restart()

Restarts the animation.

View Source
Declaration
public void Restart()

Reset()

Resets the animation.

View Source
Declaration
public void Reset()

Update()

Updates the animation.

View Source
Declaration
public abstract void Update()