Click or drag to resize

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)
Since: 5.0
Syntax
public int RenderMaterialIndex { get; set; }

Property Value

Type: Int32
See Also