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
Type | Name | Description |
---|---|---|
System.Single | firstFloat | The first float. |
System.Single | secondFloat | The second float. |
System.Single | by | The 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
Type | Name | Description |
---|---|---|
System.Numerics.Vector2 | firstVector | The first vector. |
System.Numerics.Vector2 | secondVector | The second float. |
System.Single | by | The point to lerp to. |