Click or drag to resize

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
)

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.0 BETA
See Also