RhinoCommon API
LayerRenderMaterial Property |
Gets or sets the RenderMaterial for objects on
this layer that have MaterialSource() == MaterialFromLayer.
A null result indicates that no RenderMaterial has
been assigned and the material created by the default Material
constructor or the RenderMaterialIndex should be used.
Namespace: Rhino.DocObjects
Assembly: RhinoCommon (in RhinoCommon.dll)

public RenderMaterial RenderMaterial { get; set; }
Public Property RenderMaterial As RenderMaterial Get Set
Property Value
Type: RenderMaterial
Rhino for Windows
Supported in: 6.14