DisplayMaterial Constructor (Color)

DisplayMaterial Constructor (Color)

Constructs a default material with a specific diffuse color.

Namespace:  Rhino.Display
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public DisplayMaterial(
	Color diffuse
)
Public Sub New ( 
	diffuse As Color
)

Parameters

diffuse
Type: System.DrawingColor
Diffuse color of material. The alpha component of the Diffuse color is ignored.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.8
See Also