RhinoObjectGetRenderPrimitiveList Method |
Rhino 5 for Windows
Build custom render mesh(es) for this object.
Namespace: Rhino.DocObjectsAssembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.30000.17 (5.13.60913.21340)
Syntaxpublic RenderPrimitiveList GetRenderPrimitiveList(
ViewportInfo viewport,
bool preview
)
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:
RenderPrimitiveList
Returns a RenderPrimitiveList if successful otherwise returns null.
See Also