Interop.ToIRhinoViewport Method
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)
public static Object ToIRhinoViewport(
	RhinoViewport 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

Rhino for Windows

Supported in: 6.7
See Also