RhinoCommon API
RhinoObjectGetRenderPrimitiveList Method (ViewportInfo, DisplayPipelineAttributes) |
Build custom render mesh(es) for this object.
Namespace: Rhino.DocObjects
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 6.0

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.
