Click or drag to resize

InteropToIRhinoViewport Method

Convert a Rhino.Display.Viewport to an RMA.Rhino.IRhinoViewport.

Namespace:  Rhino.Runtime
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static Object ToIRhinoViewport(
	RhinoViewport source
)

Parameters

source
Type: Rhino.DisplayRhinoViewport
A RhinoCommon viewport.

Return Value

Type: Object
Rhino_DotNet IRhinoViewport object on success. This will be an independent copy.
Version Information

Rhino for Mac

Supported in: 5.4 WIP

Rhino for Windows

Supported in: 6.1 BETA
See Also