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

> Devuelve el número total de lámparas direccionables individualmente de un periférico LampArray, que se usa para iterar por los índices al controlar la iluminación RGB.

# ILampArray::GetLampCount

Devuelve el número de lámparas que forman parte de este ILampArray.

## Sintaxis

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

### Parámetros

Este método no tiene parámetros.

### Valor devuelto

Tipo: uint32\_t

El número de lámparas del ILampArray.

## Requisitos

**Encabezado:** LampArray.h

**Biblioteca:** xgameplatform.lib

**Plataformas compatibles:** consolas de la familia XBOX One y consolas XBOX Series

## Consulte también

[Información general de la API de iluminación](https://docs.xbox.com/es/build/core-features/common/lighting/gc-lighting-toc.md)\
[ILampArray](https://docs.xbox.com/es/reference/lighting/lamparray/interfaces/ilamparray/ilamparray.md)


## Related topics

- [GetLampInfo](https://docs.xbox.com/es/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getlampinfo.md)
- [GetIndex](https://docs.xbox.com/es/reference/lighting/lamparray/interfaces/ilampinfo/methods/ilampinfo_getindex.md)
- [ILampArray (Contenido de la interfaz)](https://docs.xbox.com/es/reference/lighting/lamparray/interfaces/ilamparray/ilamparray.md)
- [GetIndicesCountForPurposes](https://docs.xbox.com/es/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getindicescountforpurposes.md)
- [GetGreenLevelCount](https://docs.xbox.com/es/reference/lighting/lamparray/interfaces/ilampinfo/methods/ilampinfo_getgreenlevelcount.md)
