Click or drag to resize

RhinoObjectSupportsRenderPrimitiveList Method (ViewportInfo, Boolean)

Note: This API is now obsolete.

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

Namespace:  Rhino.DocObjects
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.7
Syntax
[ObsoleteAttribute("Use HasCustomRenderPrimitives instead")]
public bool SupportsRenderPrimitiveList(
	ViewportInfo viewport,
	bool preview
)

Parameters

viewport
Type: Rhino.DocObjectsViewportInfo
The viewport being rendered.
preview
Type: SystemBoolean
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: Boolean
Returns true if custom render mesh(es) will get built for this object.
See Also