RhinoCommon API
MeshInstance Class |
Representation of ChangeQueue MeshInstance
Namespace: Rhino.Render.ChangeQueue
Assembly: RhinoCommon (in RhinoCommon.dll)
The MeshInstance type exposes the following members.
| Name | Description | |
|---|---|---|
| CastShadows |
Return true if mesh instance should cast shadows
| |
| Decals |
Access to the decals for this MeshInstance if any. Null if no decal
iterator exists for this mesh instance
| |
| GroupId |
Get identifier that specifies the grouping of these mesh instances - usually based on the object that this originally comprised.
| |
| InstanceId |
Get the instance identifier for this mesh instance.
| |
| MaterialId |
The Material CRC / RenderHash
| |
| MeshId |
Get the mesh identifier for this mesh instance.
| |
| MeshIndex |
Get the mesh index for this mesh instance.
| |
| OcsTransform |
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)
| |
| ParentId |
Get the Guid of the object that is at the parent of the MeshInstance ancestry, or Guid.Empty if there is no parent.
| |
| ReceiveShadows |
Return true if mesh instance should receive shadows
| |
| RenderMaterial |
RenderMaterial associated with mesh instance
| |
| RootId |
Get the Guid of the object that is at the root of the MeshInstance ancestry, or Guid.Empty if this has no root.
| |
| Transform |
Transform for the MeshInstance
|
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |