Click or drag to resize

ViewportInfoGetCameraAngles Method

Gets the field of view angles.

Namespace:  Rhino.DocObjects
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
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.
See Also