color property

Color color
final

The color to paint the material.

Must be opaque. To create a transparent piece of material, use MaterialType.transparency.

By default, the color is derived from the type of material.

Implementation

final Color color