Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Interpolates linearly after clamping the interpolation factor to [0, 1].

API: engine
Project: Inno.Core.Mathematics

public static Inno.Core.Mathematics.Vector3 Inno.Core.Mathematics.Vector3.Lerp(Inno.Core.Mathematics.Vector3 a, Inno.Core.Mathematics.Vector3 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 vector3 that represents the completed operation.