RhinoCommon API
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

public virtual BoundingBox BoundingBox( ViewportInfo vp, RhinoObject obj, Guid requestingPlugIn, bool preview )
Public Overridable Function BoundingBox ( vp As ViewportInfo, obj As RhinoObject, requestingPlugIn As Guid, preview As Boolean ) As BoundingBox
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: BoundingBoxA bounding box value.
