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

# GetIndex

> ILampInfo::GetIndex

# ILampInfo::GetIndex

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

## 구문

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

### 매개변수

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

### 반환값

형식: uint32\_t

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

## 설명

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

## 요구 사항

**헤더:** LampArray.h

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

**지원되는 플랫폼:** XBOX One 제품군 콘솔 및 XBOX Series 콘솔

## 함께 보기

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


## Related topics

- [ILampInfo (인터페이스 콘텐츠)](https://docs.xbox.com/ko/reference/lighting/lamparray/interfaces/ilampinfo/ilampinfo.md)
- [GetMotorIndex](https://docs.xbox.com/ko/reference/input/gameinput/interfaces/igameinputforcefeedbackeffect/methods/igameinputforcefeedbackeffect_getmotorindex.md)
- [GetExtraAxisIndexes](https://docs.xbox.com/ko/reference/input/gameinput/interfaces/igameinputdevice/methods/igameinputdevice_getextraaxisindexes.md)
- [GetExtraButtonIndexes](https://docs.xbox.com/ko/reference/input/gameinput/interfaces/igameinputdevice/methods/igameinputdevice_getextrabuttonindexes.md)
- [HCWebSocketGetHeaderAtIndex](https://docs.xbox.com/ko/reference/live/httpclient/httpprovider/functions/hcwebsocketgetheaderatindex.md)
