RenderMeshes
ReferencesRenderMeshes is a collection of geometry instances for a given ObjectId typically returned by the Custom Render primitive system. As each set of primitives is returned by the RenderMeshProviders in turn, the running hash is updated with new information about the primitive modifications that have been made along the way.
Constructors
[CLSCompliant(false)]
public RenderMeshes(RhinoDoc doc, Guid objectId, Guid renderMeshProviderId, uint runningHash, uint flags)
Create a new render primitives collection.
Parameters:
| doc (RhinoDoc) | The Rhino document with which this collection will be associated. |
| objectId (Guid) | The ObjectId that this collection is for. |
| renderMeshProviderId (Guid) | The RenderMeshProvider that created this collection - if this is the first in the stack, typically this will be ON_nil_uuid. |
| runningHash (uint) | The running hash of this collection - each RenderMeshProvider will update the hash with its own modification hash. |
| flags (uint) | The flags these render meshes were created with. |
[CLSCompliant(false)]
public RenderMeshes(RhinoDoc doc, Guid objectId, Guid renderMeshProviderId, uint runningHash)
Create a new render primitives collection.
Parameters:
| doc (RhinoDoc) | The Rhino document with which this collection will be associated. |
| objectId (Guid) | The ObjectId that this collection is for. |
| renderMeshProviderId (Guid) | The RenderMeshProvider that created this collection - if this is the first in the stack, typically this will be ON_nil_uuid. |
| runningHash (uint) | The running hash of this collection - each RenderMeshProvider will update the hash with its own modification hash. |
Finalizer
Properties
The document with which this IRenderMeshes object is associated.
The running hash for these render meshes.
The number of instance objects in this collection.
Methods
Adds a new instance to the render primitives collection.
Parameters:
| instance (Instance) | The instance to be added. |
Return an object to iterator over the instances in the collection