Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Creates a rotation quaternion that looks in forward direction with the given up.

API: engine
Project: Inno.Core.Mathematics

public static Inno.Core.Mathematics.Quaternion Inno.Core.Mathematics.Quaternion.LookRotation(Inno.Core.Mathematics.Vector3 forward, Inno.Core.Mathematics.Vector3 up)

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.

The validated quaternion that represents the completed operation.