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

# XFrontPanelLight

> XFrontPanelLight

# XFrontPanelLight

フロント パネルのライトを列挙します。

<a id="syntaxSection" />

## 構文

```cpp theme={null}
enum class XFrontPanelLight : uint32_t  
{  
    None = 0x0,  
    Light1 = 0x1,  
    Light2 = 0x2,  
    Light3 = 0x4,  
    Light4 = 0x8,  
    Light5 = 0x10,  
}  
```

<a id="constantsSection" />

## 定数

| 定数     | 説明               |
| ------ | ---------------- |
| None   | 点灯しているライトがありません。 |
| Light1 | Light 1 が点灯。     |
| Light2 | Light 2 が点灯。     |
| Light3 | Light 3 が点灯。     |
| Light4 | Light 4 が点灯。     |
| Light5 | Light 5 が点灯。     |

<a id="remarksSection" />

## 解説

XBOX One X 開発機のフロント パネルには、プログラム可能な 5 つのボタンに対応する 5 つのライトが含まれています。

<img src="https://mintcdn.com/microsoft-4404708b/-_0FrcE2bDxzGxv-/images/gdk/reference/front_panel_display_small.png?fit=max&auto=format&n=-_0FrcE2bDxzGxv-&q=85&s=8c81bf256714cec6526e83a4cbac5538" alt="XBOX One X のフロント パネル ディスプレイ" width="704" height="362" data-path="images/gdk/reference/front_panel_display_small.png" />

この列挙型は [XFrontPanelGetLightStates](/reference/devkit/xfrontpaneldisplay/functions/xfrontpanelgetlightstates) および [XFrontPanelSetLightStates](/reference/devkit/xfrontpaneldisplay/functions/xfrontpanelsetlightstates) 関数で使用します。値を組み合わせることで、複数のライトを同時に指定することができます。

詳細については、[XBOX One X: フロント パネル ディスプレイの使用 (NDA トピック)](https://learn.microsoft.com/gaming/gdk/docs/gdk-dev/console-dev/dev-kits/concepts/scorpio-frontpanel) を参照してください。

<a id="requirementsSection" />

## 要件

**ヘッダー:** xfrontpaneldisplay.h

**サポートされているプラットフォーム:** XBOX One ファミリ本体および XBOX Series 本体

<a id="seealsoSection" />

## 関連項目

[XFrontPanelDisplay](/reference/devkit/xfrontpaneldisplay/xfrontpaneldisplay_members)


## Related topics

- [XFrontPanelSetLightStates](/ja-jp/reference/devkit/xfrontpaneldisplay/functions/xfrontpanelsetlightstates.md)
- [XFrontPanelGetLightStates](/ja-jp/reference/devkit/xfrontpaneldisplay/functions/xfrontpanelgetlightstates.md)
- [XFrontPanelDisplay](/ja-jp/reference/devkit/xfrontpaneldisplay/xfrontpaneldisplay_members.md)
- [XFrontPanelButton](/ja-jp/reference/devkit/xfrontpaneldisplay/enums/xfrontpanelbutton.md)
- [XFrontPanelIsSupported](/ja-jp/reference/devkit/xfrontpaneldisplay/functions/xfrontpanelissupported.md)
