> ## 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éthode ILampArray::GetLampCount

> Retourne le nombre total de Lamps adressables individuellement sur un périphérique LampArray, utilisé pour parcourir les index lors du contrôle de l'éclairage RGB.

# ILampArray::GetLampCount

Retourne le nombre de Lamps qui font partie de cet ILampArray.

## Syntaxe

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

### Paramètres

Cette méthode n'a aucun paramètre.

### Valeur de retour

Type : uint32\_t

Le nombre de lampes de l'ILampArray.

## Configuration requise

**En-tête :** LampArray.h

**Bibliothèque :** xgameplatform.lib

**Plateformes prises en charge :** consoles de la famille XBOX One et consoles XBOX Series

## Voir aussi

[Vue d'ensemble de l'API d'éclairage](/fr-CA/build/core-features/common/lighting/gc-lighting-toc)\
[ILampArray](/fr-CA/reference/lighting/lamparray/interfaces/ilamparray/ilamparray)


## Related topics

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