Click or drag to resize

ViewportInfoCalculateCameraRotationAngle Method

Calculates the camera rotation angle.

Namespace:  Rhino.DocObjects
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 6.8
Syntax
public static double CalculateCameraRotationAngle(
	Vector3d direction,
	Vector3d up
)

Parameters

direction
Type: Rhino.GeometryVector3d
The camera direction.
up
Type: Rhino.GeometryVector3d
The camera up direction.

Return Value

Type: Double
The camera rotation angle in radians.
See Also