Skip to main content

ILampInfo::GetIndex

Returns the index in the LampArray at which the given lamp resides.

Syntax

Parameters

This method has no parameters.

Return value

Type: uint32_t The index in the LampArray for the Lamp.

Remarks

Valid lamp indices are in the range of 0 to ILampArray::GetLampCount - 1.

Requirements

Header: LampArray.h Library: xgameplatform.lib Supported platforms: XBOX One family consoles and XBOX Series consoles

See also

Lighting API Overview
ILampArray::GetLampInfo
ILampInfo
Last modified on August 20, 2026