Skip to main content

Class AnimUtil

Class providing helper functions when facilitating animations.

Assembly: Dalamud.dll
View Source
Declaration
public static class AnimUtil

Methods

Lerp(float, float, float)

Lerp between two floats.

View Source
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.

View Source
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.