This method sets the frame buffer size and adds all the necessary wireframe channels automatically.
It also creates the wireframe channel data automatically so that your renderer doesn't have to.
You typically call this method only when your renderer does not support wireframe rendering itself.
If you call this method, then you should not add any wireframe channels returned by GetRenderChannels().
If your renderer is capable of rendering the wireframe channels itself, you should not call this method.
Instead, you must make sure you add the wireframe channels if GetRenderChannels() requests them.
After the wires are rendered, the wireframe post effects will composite them into the final rendered image.
Note: This method should really be called AddWireframeChannels(). [SDK_UNFREEZE] */
RhinoCommon (in RhinoCommon.dll)
public bool AddWireframeChannel(
Public Function AddWireframeChannel (
doc As RhinoDoc,
viewport As ViewportInfo,
size As Size,
region As Rectangle
) As Boolean
- Type: RhinoRhinoDoc
The document to display
- Type: Rhino.DocObjectsViewportInfo
The view to display
- Type: System.DrawingSize
The size of the image without clipping (i.e., if you have a region, it is the
size of the image before you cut the region out.
- Type: System.DrawingRectangle
The area of the rendering you want to display. This should match the size
of the render window itself (i.e, - the one set using SetSize)
Returns true if all of the wireframe channels were added successfully.