Click or drag to resize
AB4D logo

FreeCameraGetNormalizedUpDirection(Vector3D, Vector3D) Method

GetNormalizedUpDirection returns the normalized UpDirection vector. If the specified upDirection is not perpendicular to the look direction, the returned up direction is corrected to be perpendicular.

Namespace: Ab3d.Cameras
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
public Vector3D GetNormalizedUpDirection(
	Vector3D lookDirection,
	Vector3D upDirection
)

Parameters

lookDirection  Vector3D
look direction of the camera
upDirection  Vector3D
up direction of the camera

Return Value

Vector3D
normalized UpDirection vector
See Also