Click or drag to resize

ViewportInfoCalculateCameraRotationAngle Method

Calculates the camera rotation angle.

Namespace:  Rhino.DocObjects
Assembly:  RhinoCommon (in RhinoCommon.dll)
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.
Version Information

Rhino for Windows

Supported in: 6.20
See Also