ViewportInfo.GetCameraAngles Method

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
)
Public Function GetCameraAngles ( 
	<OutAttribute> ByRef halfDiagonalAngleRadians As Double,
	<OutAttribute> ByRef halfVerticalAngleRadians As Double,
	<OutAttribute> ByRef halfHorizontalAngleRadians As Double
) As Boolean

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