RhinoCommon API
ViewportInfoCalculateCameraRotationAngle Method |
Calculates the camera rotation angle.
Namespace: Rhino.DocObjects
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 6.8

public static double CalculateCameraRotationAngle( Vector3d direction, Vector3d up )
Public Shared Function CalculateCameraRotationAngle ( direction As Vector3d, up As Vector3d ) As Double
Parameters
- direction
- Type: Rhino.GeometryVector3d
The camera direction. - up
- Type: Rhino.GeometryVector3d
The camera up direction.
Return Value
Type: DoubleThe camera rotation angle in radians.
