Synced
Vector2.Lerp
Section titled “Vector2.Lerp”
- Interpolates linearly between two values without clamping the interpolation factor.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Core.Mathematics
Declaration
Section titled “Declaration”public static Inno.Core.Mathematics.Vector2 Inno.Core.Mathematics.Vector2.Lerp(Inno.Core.Mathematics.Vector2 a, Inno.Core.Mathematics.Vector2 b, float t)Parameters
Section titled “Parameters”Parameter a: The first operand or interpolation endpoint.
Parameter b: The second operand or interpolation endpoint.
Parameter t: The interpolation factor, where zero selects the first endpoint and one selects the second.
Returns
Section titled “Returns”The validated vector2 that represents the completed operation.