|
CameraUtilsCalculateUpDirection Method |
Calculates the up direction vector from look direction vector.
Namespace: Ab4d.SharpEngine.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax public static Vector3 CalculateUpDirection(
Vector3 lookDirection,
Vector3 sceneUpVector
)
Parameters
- lookDirection Vector3
- look direction vector
- sceneUpVector Vector3
- up vector of the 3D scene, usually (0, 1, 0)
Return Value
Vector3up direction vector
See Also