Share via


ILampArray::SupportsScanCodes

Returns whether a ILampArray supports targeting individual lamps using keyboard scan codes. This will typically apply to ILampArrays whose LampArrayKind is Keyboard.

Syntax

bool SupportsScanCodes(
)

Parameters

This method has no parameters.

Return value

Type: bool

Returns true if at least one Lamp is addressable by a keyboard scan code.

Remarks

If an ILampArray supports scan codes, colors on the device can be changed using ILampArray::SetColorsForScanCodes.

Requirements

Header: LampArray.h

Library: xgameplatform.lib

Supported platforms: Xbox One family consoles and Xbox Series consoles

See also

Lighting API Overview
ILampArray::SetColorsForScanCodes
ILampArray