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

# XBOX 和 PC 上的照明 API 與 LampArray

> 使用 GDK 照明 API 和 LampArray 基本概念，為 XBOX Series X|S、XBOX One 和 Windows 遊戲驅動周邊裝置和控制器上的 RGB 照明。

探索 XBOX 遊戲開發的照明主題。

<CardGroup cols={2}>
  <Card title="照明 API" icon="circle-info" href="/zh-TW/build/core-features/common/lighting/gc-lighting-toc">
    a id="introductionSection"/a
  </Card>

  <Card title="LampArray 基本概念" icon="note-sticky" href="/zh-TW/build/core-features/common/lighting/lighting-basics">
    本頁說明如何註冊 LampArray 回呼，以及如何與 ILampArray 和 ILampInfo 執行個體互動。
  </Card>

  <Card title="在 LampArray 上設定色彩" icon="sliders" href="/zh-TW/build/core-features/common/lighting/lighting-colors">
    ILampArray 上的所有色彩更新函式都使用 LampArrayColor 結構來表示 RGBA 色彩值。
  </Card>

  <Card title="LampArray 效果" icon="compass" href="/zh-TW/build/core-features/common/lighting/lighting-effects">
    在遊戲迴圈中呼叫 ILampArray 色彩函式，以產生效果和動畫。
  </Card>
</CardGroup>

## 另請參閱

* [非同步](/zh-TW/build/core-features/common/async/index)
* [遊戲設定](/zh-TW/build/core-features/common/game-config/index)
* [遊戲存檔](/zh-TW/build/core-features/common/game-save/index)
* [遊戲串流](/zh-TW/build/core-features/common/game-streaming/index)
* [輸入](/zh-TW/build/core-features/common/input/index)
* [封裝](/zh-TW/build/core-features/common/packaging/index)
* [使用者](/zh-TW/build/core-features/common/user/index)


## Related topics

- [ILampArray::GetIsEnabled 方法](/zh-TW/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getisenabled.md)
- [照明 API 概觀](/zh-TW/build/core-features/common/lighting/gc-lighting-toc.md)
- [ILampArray::SetIsEnabled 方法](/zh-TW/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_setisenabled.md)
- [ILampArray::GetVendorId 方法](/zh-TW/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getvendorid.md)
- [LampArray 基本概念](/zh-TW/build/core-features/common/lighting/lighting-basics.md)
