Click or drag to resize

RhinoObjectGetRenderPrimitiveList Method (ViewportInfo, Boolean)

Note: This API is now obsolete.

Build custom render mesh(es) for this object.

Namespace:  Rhino.DocObjects
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.7
public RenderPrimitiveList GetRenderPrimitiveList(
	ViewportInfo viewport,
	bool preview


Type: Rhino.DocObjectsViewportInfo
The viewport being rendered.
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