Share via


LampArray.BrightnessLevel Property

Definition

Gets or sets the overall brightness of the LampArray, where 0.0 is completely off and 1.0 is maximum brightness.

Every lamp is scaled equally by the brightness.

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

void BrightnessLevel(double value);
public double BrightnessLevel { get; set; }
var double = lampArray.brightnessLevel;
lampArray.brightnessLevel = double;
Public Property BrightnessLevel As Double

Property Value

Double

double

The current brightness level of the LampArray. Default is 1.0.

Examples

LampArray sample

Demonstrates how to control RGB lighting of peripheral devices using the Windows.Devices.Lights and Windows.Devices.Lights.Effects APIs.

AutoRGB Sample

Demonstrates how to extract a single, representative color from a desktop screen and use it to illuminate LED lamps on a connected RGB device.

Remarks

Values must be between 0.0 and 1.0 (inclusive).

Applies to

See also