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

> 傳回目前套用至 LampArray 上每個 Lamp 的整體亮度比例，其中 0.0 為完全關閉，1.0 為最大亮度。

# ILampArray::GetBrightnessLevel

取得 ILampArray 的整體亮度，其中 0.0 為完全關閉，1.0 為最大亮度。

## 語法

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

### 參數

此方法沒有參數。

### 傳回值

類型：double

ILampArray 目前的亮度等級。預設值為 1.0。

## 備註

值介於 0.0 和 1.0 之間 (含)。

## 需求

**標頭：** LampArray.h

**程式庫：** xgameplatform.lib

**支援的平台：** XBOX One 系列主機和 XBOX Series 主機

## 另請參閱

[照明 API 概觀](https://docs.xbox.com/zh-TW/build/core-features/common/lighting/gc-lighting-toc.md)\
[ILampArray::SetBrightnessLevel](https://docs.xbox.com/zh-TW/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_setbrightnesslevel.md)\
[ILampArray](https://docs.xbox.com/zh-TW/reference/lighting/lamparray/interfaces/ilamparray/ilamparray.md)


## Related topics

- [SetBrightnessLevel](https://docs.xbox.com/zh-TW/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_setbrightnesslevel.md)
- [ILampArray (介面內容)](https://docs.xbox.com/zh-TW/reference/lighting/lamparray/interfaces/ilamparray/ilamparray.md)
- [HCSettingsGetTraceLevel](https://docs.xbox.com/zh-TW/reference/live/httpclient/trace/functions/hcsettingsgettracelevel.md)
- [GetGainLevelCount](https://docs.xbox.com/zh-TW/reference/lighting/lamparray/interfaces/ilampinfo/methods/ilampinfo_getgainlevelcount.md)
- [GetRedLevelCount](https://docs.xbox.com/zh-TW/reference/lighting/lamparray/interfaces/ilampinfo/methods/ilampinfo_getredlevelcount.md)
