Click or drag to resize
AB4D logo

CameraUtilsCalculateCameraDirections Method

Returns the lookDirection and upDirection from the specified heading, attitude and bank (angles in degrees).

Namespace: Ab3d.Utilities
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
public static void CalculateCameraDirections(
	double heading,
	double attitude,
	double bank,
	out Vector3D lookDirection,
	out Vector3D upDirection
)

Parameters

heading  Double
heading in degrees
attitude  Double
attitude in degrees
bank  Double
bank in degrees
lookDirection  Vector3D
lookDirection as normalized Vector3D
upDirection  Vector3D
upDirection as normalized Vector3D
See Also