RenderMeshes
RenderMeshes 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.
Inheritance Hierarchy
System.Object
Rhino.Render.CustomRenderMeshes.RenderMeshes
Namespace: Rhino.Render.CustomRenderMeshes
Assembly: RhinoCommon (in RhinoCommon.dll)
Syntax
public class RenderMeshes : IDisposable, IEnumerable<Instance>, IEnumerable
The RenderMeshes type exposes the following members.
Constructors
Name
Description
Public Method
RenderMeshes
Create a new render primitives collection.
Properties
Name
Description
Public Property
Document
The document with which this IRenderMeshes object is associated.
Public Property
Hash
The running hash for these render meshes.
Public Property
InstanceCount
The number of instance objects in this collection.
Public Property
ObjectId
The ObjectId with which this IRenderMeshes object is associated.
Methods
Name
Description
Public Method
AddInstance
Adds a new instance to the render primitives collection.
Public Method
Dispose.
Dispose this collection
Protected Method
Dispose(Boolean)
Dispose
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected Method
Finalize
Finalizer for this collection
(Overrides Object.Finalize..)
Public Method
GetEnumerator
Return an object to iterator over the instances in the collection
Public Method
GetHashCode
Overrides default hash code function - just returns Hash
(Overrides Object.GetHashCode..)
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected Method
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object.)