LampArray.BrightnessLevel Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The current brightness level of the LampArray. Default is 1.0.
Examples
Demonstrates how to control RGB lighting of peripheral devices using the Windows.Devices.Lights and Windows.Devices.Lights.Effects APIs.
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
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro