Click or drag to resize

RenderSourceView Constructor

Create a new RenderSourceView for the given doc. Note that this should be done with using(var rsv = new RenderSourceView(doc)) {} If the RenderSettings have the source view set to for instance a SnapShot this construct will ensure that the (active) view is set to the correct snapshot, and reverted back to the original once this instance goes out of scope.

Namespace:  Rhino.Render
Assembly:  RhinoCommon (in RhinoCommon.dll)
public RenderSourceView(
	RhinoDoc doc


Type: RhinoRhinoDoc
Rhino document
See Also