Click or drag to resize

RhinoDocGetRenderPrimitiveList Method

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

Namespace:  Rhino
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 6.9
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.
See Also