> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ILampArray::SetBrightnessLevel method

> Sets the overall brightness scale applied to every Lamp on a LampArray, where 0.0 is completely off and 1.0 is maximum brightness.

# ILampArray::SetBrightnessLevel

Sets the overall brightness of the ILampArray, where 0.0 is completely off and 1.0 is maximum brightness.

This brightness level will be applied to the entire device. Every Lamp will be scaled equally by the brightness value.

## Syntax

```cpp theme={null}
void SetBrightnessLevel(
    double brightnessLevel)
```

### Parameters

*brightnessLevel*\
Type: double

The desired brightness level to set.

### Return value

Type: void

## Remarks

Parameter values outside the supported brightness range (from 0.0 to 1.0 inclusive) will be clamped.

## Requirements

**Header:** LampArray.h

**Library:** xgameplatform.lib

**Supported platforms:** XBOX One family consoles and XBOX Series consoles

## See also

[Lighting API Overview](/build/core-features/common/lighting/gc-lighting-toc)\
[ILampArray::GetBrightnessLevel](/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getbrightnesslevel)\
[ILampArray](/reference/lighting/lamparray/interfaces/ilamparray/ilamparray)


## Related topics

- [ILampArray::GetBrightnessLevel method](/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getbrightnesslevel.md)
- [ILampArray::SetColor method](/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_setcolor.md)
- [ILampArray::SetIsEnabled method](/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_setisenabled.md)
- [ILampArray::SetColorsForIndices method](/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_setcolorsforindices.md)
- [ILampArray::SetColorsForScanCodes method](/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_setcolorsforscancodes.md)
