Description:
Determine if custom render primitives will be supplied for a particular object.
Syntax:
public abstract bool HasCustomRenderMeshes(
MeshType mt,
ViewportInfo vp,
RhinoDoc doc,
Guid objectId,
ref Flags flags,
PlugIn plugin,
DisplayPipelineAttributes attrs
)
MeshType mt,
ViewportInfo vp,
RhinoDoc doc,
Guid objectId,
ref Flags flags,
PlugIn plugin,
DisplayPipelineAttributes attrs
)
Parameters:
- mt
- Type: MeshType
- The mesh type to provide meshes for
- vp
- Type: ViewportInfo
- The viewport being rendered
- doc
- Type: RhinoDoc
- The Rhino document associated with the objectId
- objectId
- Type: System.Guid
- The objectId for which the primitives should be supplied.
- flags
- Type: Flags
- See Flags.
- plugin
- Type: PlugIn
- The requesting plug-in - typically the render plug-in requesting the primitives.
- attrs
- Type: Display.DisplayPipelineAttributes
- The display attributes currently being used - nullptr if this is production rendering.
Returns:
Type: bool
True if RenderMeshes will return a set of primitives, otherwise false. RenderMeshes may still return an empty collection - in case of cancelation something similar.
Available since:
8.0