Skip to content

MeshInstance

Public Class

Representation of ChangeQueue MeshInstance

Inheritance Hierarchy

System.Object
Rhino.Render.ChangeQueue.MeshInstance

Namespace: Rhino.Render.ChangeQueue

Assembly: RhinoCommon (in RhinoCommon.dll)

Syntax

public class MeshInstance

The MeshInstance type exposes the following members.

Properties

Name

Description


Public Property

Returns a the ancestry information for this object. Note well - the ancestry records contain complete copies of the object attributes for each level of the block hierarchy. Please do not be tempted to use the ModelObjectId of the instance objects to look them up in the document - the document may have changed since the change queue entries were added.


Public Property

Obsolete.

Return true if mesh instance should cast shadows


Public Property

Obsolete.

Read-only access to the decals for this MeshInstance if any. Null if no object attributes exist for this mesh instance.


Public Property

Obsolete.

Get identifier that specifies the grouping of these mesh instances - usually based on the object that this originally comprised.


Public Property

Get the instance identifier for this mesh instance.


Public Property

The Material CRC / RenderHash


Public Property

Get the mesh identifier for this mesh instance.


Public Property

Obsolete.

Get the mesh index for this mesh instance.


Public Property

The ObjectAttributes associated with a MeshInstance


Public Property

Obsolete.

OCS Transform for the MeshInstance - this is the Object Coordinate System texture mapping transformation set in the texture mapping properties dialog. (identity means no OCS, potentially just simple WCS/WCS Box)


Public Property

Get the Guid of the object that is at the parent of the MeshInstance ancestry, or Guid.Empty if there is no parent.


Public Property

Obsolete.

Return true if mesh instance should receive shadows


Public Property

RenderMaterial associated with mesh instance


Public Property

Get the Guid of the object that is at the root of the MeshInstance ancestry, or Guid.Empty if this has no root.


Public Property

Transform for the MeshInstance


Methods

Name

Description


Public Method

Equals

Determines whether the specified object is equal to the current object.

(Inherited from Object.)


Protected Method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.

(Inherited from Object.)


Public Method

GetHashCode

Serves as the default hash function.

(Inherited from Object.)


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.)