M_Rhino_Geometry_HiddenLineDrawingParameters_SetViewport - mcneel/rhinocommon-api-docs GitHub Wiki
HiddenLineDrawingParameters.SetViewport Method (RhinoViewport)
Set the viewport for the hidden line drawing (HLD). The viewport supplies the projection that determinest he visibility of curves, and the HLD coordinate system in which the resulting curves are represented. The HLD-coordinate system is a right handed system for 3-D model space, in which the 3rd coordinate direction is the projection direction. In particular the z-coordinate direction points from the scene toward the camera.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public void SetViewport(
RhinoViewport viewport
)
VB
Public Sub SetViewport (
viewport As RhinoViewport
)
- viewport
- Type: Rhino.Display.RhinoViewport
A copy of rhinoViewport is made inside of HiddenLineDrawing.
Type:
True if the viewport has been set.
Supported in: 6.0.16224.21491
HiddenLineDrawingParameters Class
SetViewport Overload
Rhino.Geometry Namespace