> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ILampInfo::GetIndex

> ILampInfo::GetIndex

# ILampInfo::GetIndex

주어진 Lamp가 위치한 LampArray의 인덱스를 반환합니다.

## 구문

```cpp theme={null}
uint32_t GetIndex(
)
```

### 매개변수

이 메서드에는 매개변수가 없습니다.

### 반환값

형식: uint32\_t

LampArray에서 이 Lamp의 인덱스입니다.

## 설명

유효한 Lamp 인덱스 범위는 0에서 [ILampArray::GetLampCount](/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getlampcount) - 1까지입니다.

## 요구 사항

**헤더:** LampArray.h

**라이브러리:** xgameplatform.lib

**지원되는 플랫폼:** XBOX One 계열 콘솔 및 XBOX Series 콘솔

## 함께 보기

[Lighting API 개요](/build/core-features/common/lighting/gc-lighting-toc)\
[ILampArray::GetLampInfo](/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getlampinfo)\
[ILampInfo](/reference/lighting/lamparray/interfaces/ilampinfo/ilampinfo)


## Related topics

- [ILampInfo::GetPurposes](/ko/reference/lighting/lamparray/interfaces/ilampinfo/methods/ilampinfo_getpurposes.md)
- [ILampInfo::GetPosition](/ko/reference/lighting/lamparray/interfaces/ilampinfo/methods/ilampinfo_getposition.md)
- [ILampInfo::GetNearestSupportedColor](/ko/reference/lighting/lamparray/interfaces/ilampinfo/methods/ilampinfo_getnearestsupportedcolor.md)
- [ILampInfo::GetFixedColor](/ko/reference/lighting/lamparray/interfaces/ilampinfo/methods/ilampinfo_getfixedcolor.md)
- [ILampInfo::GetScanCode](/ko/reference/lighting/lamparray/interfaces/ilampinfo/methods/ilampinfo_getscancode.md)
