> ## 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

> ILampArray::SetBrightnessLevel

# ILampArray::SetBrightnessLevel

ILampArray の全体的な明るさを設定します。0.0 は完全にオフ、1.0 は最大の明るさです。

この明るさレベルはデバイス全体に適用されます。すべての Lamp は明るさの値によって均等にスケーリングされます。

## 構文

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

### パラメーター

*brightnessLevel*\
Type: double

設定したい望ましい明るさレベルです。

### 戻り値

Type: void

## 解説

サポートされている明るさの範囲 (0.0 から 1.0 まで、両端を含む) の外側のパラメーター値はクランプされます。

## 要件

**ヘッダー:** LampArray.h

**ライブラリ:** xgameplatform.lib

**サポートされているプラットフォーム:** XBOX One ファミリ本体および XBOX Series 本体

## 関連項目

[Lighting API の概要](/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](/ja-jp/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getbrightnesslevel.md)
- [ILampArray::SetColor](/ja-jp/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_setcolor.md)
- [ILampArray::SetIsEnabled](/ja-jp/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_setisenabled.md)
- [ILampArray::SetColorsForIndices](/ja-jp/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_setcolorsforindices.md)
- [ILampArray::SetColorsForScanCodes](/ja-jp/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_setcolorsforscancodes.md)
