Click or drag to resize

CustomRenderMeshProviderBoundingBox Method (ViewportInfo, RhinoObject, Guid, Boolean)

Returns a bounding box for the custom render meshes for the given object.

Namespace:  Rhino.Render
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.7
Syntax
public virtual BoundingBox BoundingBox(
	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: BoundingBox
A bounding box value.
See Also