Share via


ILampInfo::GetIndex

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

Syntax

uint32_t GetIndex(
)

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