Click or drag to resize

GrasshopperDisplayMaterial Constructor (Color)

Constructs a material with a specific diffuse colour.

Namespace:  Rhino.Display
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntax
public GrasshopperDisplayMaterial(
	Color diffuse
)

Parameters

diffuse
Type: System.DrawingColor
The diffuse colour. Unlike DisplayMaterial, the alpha channel is not ignored — it is the opacity. See Diffuse.
See Also