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)
Since: 5.0
Syntax public bool SetFrustum(
double left,
double right,
double bottom,
double top,
double nearDistance,
double farDistance
)
Public Function SetFrustum (
left As Double,
right As Double,
bottom As Double,
top As Double,
nearDistance As Double,
farDistance As Double
) As Boolean
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:
Booleantrue if operation succeeded; otherwise, false.
See Also