Click or drag to resize

RenderPipelineGetRenderWindow Method (ViewportInfo, Boolean)

As GetRenderWindow(). The parameter withWireframeChannel controls whether the returned RenderWindow will have the channel added. The parameter fromRenderViewSource controls from where the RenderSize is queried. The viewportInfo instance will be used to set up wireframe channel. This is necessary for rendering different view than is currently active in the viewport

Namespace:  Rhino.Render
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public RenderWindow GetRenderWindow(
	ViewportInfo viewportInfo,
	bool fromRenderViewSource
)

Parameters

viewportInfo
Type: Rhino.DocObjectsViewportInfo
ViewportInfo used to generate the wireframe channel for
fromRenderViewSource
Type: SystemBoolean
true if the RenderWindow size needs to be set from RenderViewSource size. false will use the active view.

Return Value

Type: RenderWindow
RenderWindow if one exists, null otherwise (i.e. rendering has already completed).
See Also