RhinoCommon API
RhinoObjectSupportsRenderPrimitiveList Method (ViewportInfo, DisplayPipelineAttributes) |
Determines if custom render meshes will be built for a particular object.
Namespace: Rhino.DocObjects
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 6.0
public bool SupportsRenderPrimitiveList( ViewportInfo viewport, DisplayPipelineAttributes attrs )
Public Function SupportsRenderPrimitiveList ( viewport As ViewportInfo, attrs As DisplayPipelineAttributes ) As Boolean
Parameters
- viewport
- Type: Rhino.DocObjectsViewportInfo
The viewport being rendered. - attrs
- Type: Rhino.DisplayDisplayPipelineAttributes
Type of mesh to build. If attributes is non-null then a smaller mesh may be generated in less time, false is meant when actually rendering.
Return Value
Type: BooleanReturns true if custom render mesh(es) will get built for this object.