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

> Indique si le processus en cours est actuellement autorisé à contrôler l'éclairage d'un périphérique LampArray au moyen de l'API d'éclairage du GDK.

# ILampArray::GetIsEnabled

Obtient l'état d'activation d'un ILampArray pour le processus en cours.

## Syntaxe

```cpp theme={null}
bool GetIsEnabled(
)
```

### Paramètres

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

### Valeur de retour

Type : bool

L'état d'activation de l'ILampArray : true si l'appareil est activé, sinon false. Par défaut, les ILampArrays sont activés.

## 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::SetIsEnabled](/fr-CA/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_setisenabled)\
[ILampArray](/fr-CA/reference/lighting/lamparray/interfaces/ilamparray/ilamparray)


## Related topics

- [Méthode ILampArray::SetIsEnabled](/fr-CA/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_setisenabled.md)
- [Méthode ILampArray::SetColor](/fr-CA/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_setcolor.md)
- [Méthode ILampArray::GetLampArrayKind](/fr-CA/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getlamparraykind.md)
- [Méthode ILampArray::GetLampCount](/fr-CA/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getlampcount.md)
- [Méthode ILampArray::GetLampInfo](/fr-CA/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getlampinfo.md)
