> ## 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::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 概觀](/zh-TW/build/core-features/common/lighting/gc-lighting-toc)\
[ILampArray::SetBrightnessLevel](/zh-TW/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_setbrightnesslevel)\
[ILampArray](/zh-TW/reference/lighting/lamparray/interfaces/ilamparray/ilamparray)


## Related topics

- [ILampArray::SetBrightnessLevel 方法](/zh-TW/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_setbrightnesslevel.md)
- [ILampArray::GetLampArrayKind 方法](/zh-TW/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getlamparraykind.md)
- [ILampArray::GetLampInfo 方法](/zh-TW/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getlampinfo.md)
- [ILampArray::GetLampCount 方法](/zh-TW/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getlampcount.md)
- [ILampArray::GetIsEnabled 方法](/zh-TW/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getisenabled.md)
