Skip to main content

ILampArray::SetIsEnabled

設定 ILampArray 對於目前處理程序的啟用狀態。

語法

參數

isEnabled
類型:bool
ILampArray 所需的啟用狀態。

傳回值

類型:void

備註

停用時,仍可在內部設定 Lamp 的狀態,但不會傳送至裝置。重新設定為啟用時,修改過的 Lamp 狀態會排清至裝置。 根據預設,ILampArray 一律為啟用狀態。

需求

標頭: LampArray.h 程式庫: xgameplatform.lib 支援的平台: XBOX One 系列主機和 XBOX Series 主機

另請參閱

照明 API 概觀
ILampArray::GetIsEnabled
ILampArray
Last modified on October 6, 2026