Skip to main content
Version: 15.x (API 15) [Current]

Class AnimUtil

Class providing helper functions when facilitating animations.

Assembly: Dalamud.dll​
Declaration
public static class AnimUtil

Methods​

Lerp(float, float, float)​

Lerp between two floats.

Declaration
public static float Lerp(float firstFloat, float secondFloat, float by)
Returns​

System.Single: The lerped value.

Parameters​
TypeNameDescription
System.SinglefirstFloatThe first float.
System.SinglesecondFloatThe second float.
System.SinglebyThe point to lerp to.

Lerp(Vector2, Vector2, float)​

Lerp between two vectors.

Declaration
public static Vector2 Lerp(Vector2 firstVector, Vector2 secondVector, float by)
Returns​

System.Numerics.Vector2: The lerped vector.

Parameters​
TypeNameDescription
System.Numerics.Vector2firstVectorThe first vector.
System.Numerics.Vector2secondVectorThe second float.
System.SinglebyThe point to lerp to.