Click or drag to resize

RhinoDocGetRenderPrimitiveList Method

Build custom render mesh(es) for this document (ie - GH meshes).

Namespace:  Rhino
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public RenderPrimitiveList GetRenderPrimitiveList(
	ViewportInfo viewport,
	DisplayPipelineAttributes attrs
)

Parameters

viewport
Type: Rhino.DocObjectsViewportInfo
The viewport being rendered.
attrs
Type: Rhino.DisplayDisplayPipelineAttributes
Attributes for the view mode you are supplying meshes for. Will be null if this is a modal rendering.

Return Value

Type: RenderPrimitiveList
Returns a RenderPrimitiveList if successful otherwise returns null.
Version Information

Rhino for Windows

Supported in: 6.20
See Also