RhinoObjectCustomRenderMeshesBoundingBox Method |
Returns the bounding box of custom render primitives for this object .
Namespace:
Rhino.DocObjects
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 8.0
Syntax public bool CustomRenderMeshesBoundingBox(
MeshType mt,
ViewportInfo vp,
ref RenderMeshProviderFlags flags,
PlugIn plugin,
DisplayPipelineAttributes attrs,
out BoundingBox boundingBox
)
Public Function CustomRenderMeshesBoundingBox (
mt As MeshType,
vp As ViewportInfo,
ByRef flags As RenderMeshProviderFlags,
plugin As PlugIn,
attrs As DisplayPipelineAttributes,
<OutAttribute> ByRef boundingBox As BoundingBox
) As Boolean
Parameters
- mt
- Type: Rhino.GeometryMeshType
The mesh type requested (render or analysis). - vp
- Type: Rhino.DocObjectsViewportInfo
The viewport being rendered - flags
- Type: Rhino.Render.CustomRenderMeshesRenderMeshProviderFlags
See MeshProvider.Flags - plugin
- Type: Rhino.PlugInsPlugIn
The requesting plug-in (typically the calling plugin) - attrs
- Type: Rhino.DisplayDisplayPipelineAttributes
Display attributes for the caller - null if this is a full rendering. - boundingBox
- Type: Rhino.GeometryBoundingBox
The requested bounding box
Return Value
Type:
BooleanTrue if the process was a success
See Also