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

> Retorna se uma Lamp em um LampArray tem uma cor de hardware fixa, o que significa que ela não pode mudar de cor e responde apenas a alterações de brilho.

# ILampInfo::GetFixedColor

Retorna se uma Lamp tem uma cor fixa.

## Sintaxe

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

### Parâmetros

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

Um ponteiro para o valor da cor fixa com suporte da Lamp. Se esta função retornar false, fixedColor deverá ser ignorado.

### Valor retornado

Tipo: bool

Retorna true se a Lamp tiver uma cor fixa; caso contrário, false.

## Requisitos

**Cabeçalho:** LampArray.h

**Biblioteca:** xgameplatform.lib

**Plataformas com suporte:** consoles da família XBOX One e consoles XBOX Series

## Confira também

[Visão geral da API de iluminação](/pt-BR/build/core-features/common/lighting/gc-lighting-toc)\
[ILampInfo](/pt-BR/reference/lighting/lamparray/interfaces/ilampinfo/ilampinfo)


## Related topics

- [Método ILampInfo::GetBlueLevelCount](/pt-BR/reference/lighting/lamparray/interfaces/ilampinfo/methods/ilampinfo_getbluelevelcount.md)
- [Método ILampInfo::GetGreenLevelCount](/pt-BR/reference/lighting/lamparray/interfaces/ilampinfo/methods/ilampinfo_getgreenlevelcount.md)
- [Método ILampInfo::GetRedLevelCount](/pt-BR/reference/lighting/lamparray/interfaces/ilampinfo/methods/ilampinfo_getredlevelcount.md)
- [Método ILampInfo::GetNearestSupportedColor](/pt-BR/reference/lighting/lamparray/interfaces/ilampinfo/methods/ilampinfo_getnearestsupportedcolor.md)
- [Método ILampInfo::GetIndex](/pt-BR/reference/lighting/lamparray/interfaces/ilampinfo/methods/ilampinfo_getindex.md)
