RhinoObject.SupportsRenderPrimitiveList Method (ViewportInfo, DisplayPipelineAttributes)

RhinoObjectSupportsRenderPrimitiveList Method (ViewportInfo, DisplayPipelineAttributes)

Determines if custom render meshes will be built for a particular object.

Namespace:  Rhino.DocObjects
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
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 attrs is non-null then a smaller mesh may be generated in less time, false is meant when actually rendering.

Return Value

Type: Boolean
Returns true if custom render mesh(es) will get built for this object.
Version Information

Rhino for Windows

Supported in: 6.8
See Also