Click or drag to resize

CustomRenderMeshProviderWillBuildCustomMeshes Method

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

Namespace:  Rhino.Render
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.7
Syntax
public abstract bool WillBuildCustomMeshes(
	ViewportInfo vp,
	RhinoObject obj,
	Guid requestingPlugIn,
	bool preview
)

Parameters

vp
Type: Rhino.DocObjectsViewportInfo
The viewport being rendered.
obj
Type: Rhino.DocObjectsRhinoObject
The Rhino object of interest. This can be null in the case where document meshes (not associated with any object) are being requested.
requestingPlugIn
Type: SystemGuid
UUID of the RDK plug-in requesting the meshes.
preview
Type: SystemBoolean
Type of mesh to build.

Return Value

Type: Boolean
true if custom meshes will be built.
See Also