Click or drag to resize

ViewportInfoSetFrustum Method

Sets the view frustum. If FrustumSymmetryIsLocked() is true and left != -right or bottom != -top, then they will be adjusted so the resulting frustum is symmetric.

Namespace:  Rhino.DocObjects
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public bool SetFrustum(
	double left,
	double right,
	double bottom,
	double top,
	double nearDistance,
	double farDistance
)

Parameters

left
Type: SystemDouble
A new left value.
right
Type: SystemDouble
A new right value.
bottom
Type: SystemDouble
A new bottom value.
top
Type: SystemDouble
A new top value.
nearDistance
Type: SystemDouble
A new near distance value.
farDistance
Type: SystemDouble
A new far distance value.

Return Value

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

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.2
See Also