Share via


Lamp.Color Property

Definition

Gets or sets the color of the lamp.

public:
 property Color Color { Color get(); void set(Color value); };
Color Color();

void Color(Color value);
public Color Color { get; set; }
var color = lamp.color;
lamp.color = color;
Public Property Color As Color

Property Value

The color of the lamp.

Remarks

The alpha channel of the color is ignored by this API.

Applies to