Synced
Quaternion.LookRotation
Section titled “Quaternion.LookRotation”
- Creates a rotation quaternion that looks in
forwarddirection with the givenup.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Core.Mathematics
Declaration
Section titled “Declaration”public static Inno.Core.Mathematics.Quaternion Inno.Core.Mathematics.Quaternion.LookRotation(Inno.Core.Mathematics.Vector3 forward, Inno.Core.Mathematics.Vector3 up)Parameters
Section titled “Parameters”Parameter forward: The forward consumed by look rotation; ownership remains with the caller unless explicitly stated otherwise.
Parameter up: The up consumed by look rotation; ownership remains with the caller unless explicitly stated otherwise.
Returns
Section titled “Returns”The validated quaternion that represents the completed operation.