Synced
Quaternion.Slerp
Section titled “Quaternion.Slerp”
- Interpolates along the shortest spherical path between two rotations.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Core.Mathematics
Scope: Runtime
Declaration
Section titled “Declaration”public static InnoEngine.Mathematics.Quaternion InnoEngine.Mathematics.Quaternion.Slerp(InnoEngine.Mathematics.Quaternion a, InnoEngine.Mathematics.Quaternion 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 quaternion that represents the completed operation.