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

# GetLampCount

> Retorna o número total de Lamps endereçáveis individualmente em um periférico LampArray, usado para iterar índices ao controlar a iluminação RGB.

# ILampArray::GetLampCount

Retorna o número de Lamps que fazem parte deste ILampArray.

## Sintaxe

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

### Parâmetros

Este método não tem parâmetros.

### Valor retornado

Tipo: uint32\_t

O número de lâmpadas no ILampArray.

## Requisitos

**Cabeçalho:** LampArray.h

**Biblioteca:** xgameplatform.lib

**Plataformas compatíveis:** consoles da família XBOX One e consoles XBOX Series

## Confira também

[Visão geral da API de iluminação](https://docs.xbox.com/pt-BR/build/core-features/common/lighting/gc-lighting-toc.md)\
[ILampArray](https://docs.xbox.com/pt-BR/reference/lighting/lamparray/interfaces/ilamparray/ilamparray.md)


## Related topics

- [GetLampInfo](https://docs.xbox.com/pt-BR/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getlampinfo.md)
- [GetIndex](https://docs.xbox.com/pt-BR/reference/lighting/lamparray/interfaces/ilampinfo/methods/ilampinfo_getindex.md)
- [ILampArray (conteúdo da interface)](https://docs.xbox.com/pt-BR/reference/lighting/lamparray/interfaces/ilamparray/ilamparray.md)
- [GetIndicesCountForPurposes](https://docs.xbox.com/pt-BR/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getindicescountforpurposes.md)
- [GetGainLevelCount](https://docs.xbox.com/pt-BR/reference/lighting/lamparray/interfaces/ilampinfo/methods/ilampinfo_getgainlevelcount.md)
