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

> Devuelve si el proceso actual tiene permiso actualmente para controlar la iluminación de un periférico LampArray a través de la API de iluminación del GDK.

# ILampArray::GetIsEnabled

Obtiene el estado habilitado de un ILampArray para el proceso actual.

## Sintaxis

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

### Parámetros

Este método no tiene parámetros.

### Valor devuelto

Tipo: bool

El estado habilitado del ILampArray: true si el dispositivo está habilitado; de lo contrario, false. De forma predeterminada, los ILampArray están habilitados.

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


## Related topics

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