RhinoCommon API
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

[ObsoleteAttribute] public RenderPrimitiveList GetRenderPrimitiveList( ViewportInfo viewport, bool preview )
<ObsoleteAttribute> Public Function GetRenderPrimitiveList ( viewport As ViewportInfo, preview As Boolean ) As RenderPrimitiveList
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: RenderPrimitiveListReturns a RenderPrimitiveList if successful otherwise returns null.
