光照 API
a id=“introductionSection”/a
Lamparray 基础
本页介绍如何注册 LampArray 回调并与 ILampArray 和 ILampInfo 实例进行交互。
在 Lamparray 上设置颜色
ILampArray 上所有的颜色更新函数都使用 LampArrayColor 结构来表示 RGBA 颜色值。
Lamparray 效果
在游戏循环内调用 ILampArray 颜色函数以产生效果和动画。
使用 GDK Lighting API 驱动外设与控制器的 RGB 灯光,并介绍面向 XBOX Series X|S、XBOX One 与 Windows 游戏的 LampArray 基础知识。
相关主题
XBOX 与 PC 上的 Lighting API 与 LampArrayLighting API and LampArray on XBOX and PCXBOX 및 PC의 조명 API와 LampArrayAPI de iluminación y LampArray en XBOX y PCXBOX および PC でのライティング API と LampArray