RhinoCommon API
RhinoDocGetRenderPrimitiveList Method |
Build custom render mesh(es) for this document (i.e. - GH meshes).
Namespace: Rhino
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 6.9
public RenderPrimitiveList GetRenderPrimitiveList( ViewportInfo viewport, DisplayPipelineAttributes attrs )
Public Function GetRenderPrimitiveList ( viewport As ViewportInfo, attrs As DisplayPipelineAttributes ) As RenderPrimitiveList
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: RenderPrimitiveListReturns a RenderPrimitiveList if successful otherwise returns null.