Click or drag to resize

ViewportInfoGetCameraAngles Method

Gets the field of view angles.

Namespace:  Rhino.DocObjects
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public bool GetCameraAngles(
	out double halfDiagonalAngleRadians,
	out double halfVerticalAngleRadians,
	out double halfHorizontalAngleRadians
)

Parameters

halfDiagonalAngleRadians
Type: SystemDouble
1/2 of diagonal subtended angle. This out parameter is assigned during this call.
halfVerticalAngleRadians
Type: SystemDouble
1/2 of vertical subtended angle. This out parameter is assigned during this call.
halfHorizontalAngleRadians
Type: SystemDouble
1/2 of horizontal subtended angle. This out parameter is assigned during this call.

Return Value

Type: Boolean
true if the operation succeeded; otherwise, false.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.5
See Also