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

# GetBrightnessLevel

> ILampArray::GetBrightnessLevel

# ILampArray::GetBrightnessLevel

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

## 構文

```cpp theme={null}
double GetBrightnessLevel(
)
```

### パラメーター

このメソッドにはパラメーターがありません。

### 戻り値

Type: double

ILampArray の現在の明るさレベルです。既定値は 1.0 です。

## 解説

値は 0.0 から 1.0 (両端含む) の間です。

## 要件

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

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

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

## 関連項目

[Lighting API の概要](https://docs.xbox.com/ja-jp/build/core-features/common/lighting/gc-lighting-toc.md)\
[ILampArray::SetBrightnessLevel](https://docs.xbox.com/ja-jp/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_setbrightnesslevel.md)\
[ILampArray](https://docs.xbox.com/ja-jp/reference/lighting/lamparray/interfaces/ilamparray/ilamparray.md)


## Related topics

- [SetBrightnessLevel](https://docs.xbox.com/ja-jp/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_setbrightnesslevel.md)
- [ILampArray (インターフェイスの内容)](https://docs.xbox.com/ja-jp/reference/lighting/lamparray/interfaces/ilamparray/ilamparray.md)
- [GetGainLevelCount](https://docs.xbox.com/ja-jp/reference/lighting/lamparray/interfaces/ilampinfo/methods/ilampinfo_getgainlevelcount.md)
- [GetGreenLevelCount](https://docs.xbox.com/ja-jp/reference/lighting/lamparray/interfaces/ilampinfo/methods/ilampinfo_getgreenlevelcount.md)
- [GetRedLevelCount](https://docs.xbox.com/ja-jp/reference/lighting/lamparray/interfaces/ilampinfo/methods/ilampinfo_getredlevelcount.md)
