Skip to content
API referenceDevelopmentRuntime scriptingEngine ccf7d03f
Synced
  • Clamps the interpolation factor to [0, 1] and truncates each interpolated component to an integer.

API: scripting
Project: Inno.Core.Mathematics
Scope: Runtime

public static InnoEngine.Mathematics.Vector4Int InnoEngine.Mathematics.Vector4Int.Lerp(InnoEngine.Mathematics.Vector4Int a, InnoEngine.Mathematics.Vector4Int b, float t)

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.

The validated vector4int that represents the completed operation.