Description:

Returns a complete set of custom render primitives for a given ObjectId.

Syntax:
public abstract RenderMeshes RenderMeshes(
MeshType mt,
ViewportInfo vp,
RhinoDoc doc,
Guid objectId,
List<InstanceObject> ancestry,
ref Flags flags,
RenderMeshes previousPrimitives,
PlugIn plugin,
DisplayPipelineAttributes attrs
)
Parameters:
  • mt
  • Type: MeshType
  • The mesh type to provide meshes for
  • doc
  • Type: RhinoDoc
  • The Rhino document associated with the objectId
  • objectId
  • Type: System.Guid
  • The objectId for which the primitives should be supplied.
  • ancestry
  • Type: List<DocObjects.InstanceObject>
  • The ancestry of the object - ie, block references referring to this definition. This is only used to handle ByParent attributes, and should not be used to transform geometry.
  • flags
  • Type: Flags
  • See Flags.
  • previousPrimitives
  • Type: RenderMeshes
  • Optionally a custom set of initial primitives. If this parameter is empty, the standard render primitives for the object will be used, or an empty set of primitives will be used where they are not available. This is typically used in meshing exporters, which produce specific meshes for the output rather than using the render primitives.
  • plugin
  • Type: PlugIn
  • The requesting plug-in - typically the render plug-in requesting the meshes.
Returns:
Available since:
8.0

Nothing found