Click or drag to resize
RhinoObjectGetRenderPrimitiveList Method
Build custom render mesh(es) for this object.

Namespace: Rhino.DocObjects
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
Syntax
public RenderPrimitiveList GetRenderPrimitiveList(
	ViewportInfo viewport,
	bool preview
)

Parameters

viewport
Type: Rhino.DocObjectsViewportInfo
The viewport being rendered.
preview
Type: SystemBoolean
Type of mesh to build, if preview is true then a smaller mesh may be generated in less time, false is meant when actually rendering.

Return Value

Type: RenderPrimitiveList
Returns a RenderPrimitiveList if successful otherwise returns null.
See Also