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

# Método ILampArray::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](/build/core-features/common/lighting/gc-lighting-toc)\
[ILampArray](/reference/lighting/lamparray/interfaces/ilamparray/ilamparray)


## Related topics

- [Método ILampArray::GetLampInfo](/es/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getlampinfo.md)
- [Método ILampArray::GetIndicesCountForPurposes](/es/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getindicescountforpurposes.md)
- [Método ILampArray::GetIndicesForPurposes](/es/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getindicesforpurposes.md)
- [Método ILampArray::GetLampArrayKind](/es/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getlamparraykind.md)
- [Método ILampArray::SetColorsForIndices](/es/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_setcolorsforindices.md)
