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

> Indique si un Lamp d'un LampArray a une couleur matérielle fixe, ce qui signifie qu'il ne peut pas changer de couleur et ne réagit qu'aux changements de luminosité.

# ILampInfo::GetFixedColor

Indique si un Lamp a une couleur fixe.

## Syntaxe

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

### Paramètres

*fixedColor*   \_Out\_\
Type : LampArrayColor\*

Pointeur vers la valeur de couleur fixe prise en charge par le Lamp. Si cette fonction retourne false, fixedColor doit être ignoré.

### Valeur de retour

Type : bool

Retourne true si le Lamp a une couleur fixe, et false dans le cas contraire.

## 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/build/core-features/common/lighting/gc-lighting-toc)\
[ILampInfo](/fr/reference/lighting/lamparray/interfaces/ilampinfo/ilampinfo)


## Related topics

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