Layer.RenderMaterial Property

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)
Syntax
public RenderMaterial RenderMaterial { get; set; }
Public Property RenderMaterial As RenderMaterial
	Get
	Set

Property Value

Type: RenderMaterial
Version Information

Rhino for Windows

Supported in: 6.14
See Also