RhinoCommon API
LayerRenderMaterialIndex Property |
Gets or sets the index of render material for objects on this layer that have
MaterialSource() == MaterialFromLayer.
A material index of -1 indicates no material has been assigned
and the material created by the default Material constructor
should be used.
Namespace: Rhino.DocObjects
Assembly: RhinoCommon (in RhinoCommon.dll)
public int RenderMaterialIndex { get; set; }
Public Property RenderMaterialIndex As Integer Get Set