> ## 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.

# ILampArray::GetLampCount

> ILampArray::GetLampCount

# ILampArray::GetLampCount

この ILampArray の一部である Lamp の数を返します。

## 構文

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

### パラメーター

このメソッドにはパラメーターがありません。

### 戻り値

Type: uint32\_t

ILampArray 内の Lamp の数です。

## 要件

**ヘッダー:** LampArray.h

**ライブラリ:** xgameplatform.lib

**サポートされているプラットフォーム:** XBOX One ファミリ本体および XBOX Series 本体

## 関連項目

[Lighting API の概要](/build/core-features/common/lighting/gc-lighting-toc)\
[ILampArray](/reference/lighting/lamparray/interfaces/ilamparray/ilamparray)


## Related topics

- [ILampArray::GetLampInfo](/ja-jp/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getlampinfo.md)
- [ILampInfo::GetIndex](/ja-jp/reference/lighting/lamparray/interfaces/ilampinfo/methods/ilampinfo_getindex.md)
- [ILampArray](/ja-jp/reference/lighting/lamparray/interfaces/ilamparray/ilamparray.md)
- [ILampArray::GetIndicesCountForPurposes](/ja-jp/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getindicescountforpurposes.md)
- [ILampArray::GetIndicesForPurposes](/ja-jp/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getindicesforpurposes.md)
