RhinoCommon API
DisplayMaterial Constructor (Color, Double) |
Constructs a default material with a specific diffuse color and transparency.
Namespace: Rhino.Display
Assembly: RhinoCommon (in RhinoCommon.dll)

public DisplayMaterial( Color diffuse, double transparency )
Public Sub New ( diffuse As Color, transparency As Double )
Parameters
- diffuse
- Type: System.DrawingColor
Diffuse color of material. The alpha component of the Diffuse color is ignored. - transparency
- Type: SystemDouble
Transparency factor (0.0 = opaque, 1.0 = transparent)

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.8