Udostępnij za pośrednictwem


Lamp.BrightnessLevel Property

Definition

Gets or sets a value indicating the current brightness level of the lamp, where 0.0 is completely off and 1.0 is maximum brightness.

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

void BrightnessLevel(float value);
public float BrightnessLevel { get; set; }
var single = lamp.brightnessLevel;
lamp.brightnessLevel = single;
Public Property BrightnessLevel As Single

Property Value

Single

float

A value indicating the current brightness level of the lamp.

Applies to