Click or drag to resize

RhinoDocCustomRenderMeshesBoundingBox Method

Returns the bounding box of custom render primitives for this object .

Namespace:  Rhino
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
)

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: Boolean
True if the process was a success
See Also