> ## 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 ILampInfo::GetFixedColor

> Devuelve si una lámpara de un LampArray tiene un color de hardware fijo, lo que significa que no puede cambiar de color y solo responde a los cambios de brillo.

# ILampInfo::GetFixedColor

Devuelve si una lámpara tiene un color fijo.

## Sintaxis

```cpp theme={null}
bool GetFixedColor(
    LampArrayColor* fixedColor)
```

### Parámetros

*fixedColor*   \_Out\_\
Tipo: LampArrayColor\*

Un puntero al valor de color fijo admitido por la lámpara. Si esta función devuelve false, fixedColor debe omitirse.

### Valor devuelto

Tipo: bool

Devuelve true si la lámpara tiene un color fijo; de lo contrario, false.

## 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)\
[ILampInfo](/reference/lighting/lamparray/interfaces/ilampinfo/ilampinfo)


## Related topics

- [Método ILampInfo::GetRedLevelCount](/es/reference/lighting/lamparray/interfaces/ilampinfo/methods/ilampinfo_getredlevelcount.md)
- [Método ILampInfo::GetBlueLevelCount](/es/reference/lighting/lamparray/interfaces/ilampinfo/methods/ilampinfo_getbluelevelcount.md)
- [Método ILampInfo::GetGreenLevelCount](/es/reference/lighting/lamparray/interfaces/ilampinfo/methods/ilampinfo_getgreenlevelcount.md)
- [Método ILampInfo::GetNearestSupportedColor](/es/reference/lighting/lamparray/interfaces/ilampinfo/methods/ilampinfo_getnearestsupportedcolor.md)
- [Método ILampInfo::GetGainLevelCount](/es/reference/lighting/lamparray/interfaces/ilampinfo/methods/ilampinfo_getgainlevelcount.md)
