> ## 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 une Lamp d'un LampArray a une couleur matérielle fixe, ce qui signifie qu'elle ne peut pas changer de couleur et ne réagit qu'aux changements de luminosité.

# ILampInfo::GetFixedColor

Indique si une Lamp a une couleur fixe.

## Syntaxe

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

### Paramètres

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

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

### Valeur de retour

Type : bool

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


## Related topics

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