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

# LampArrayColor

> LampArrayColor

# LampArrayColor

赤、緑、青、アルファ チャネルで色を表します。

<a id="syntaxSection" />

## 構文

```cpp theme={null}
struct LampArrayColor
{
    uint8_t r;
    uint8_t g;
    uint8_t b;
    uint8_t a;
};
```

<a id="membersSection" />

### メンバー

*r*\
Type: uint8\_t

色の赤チャネルの値です。

*g*\
Type: uint8\_t

色の緑チャネルの値です。

*b*\
Type: uint8\_t

色の青チャネルの値です。

*a*\
Type: uint8\_t

色のアルファ チャネルの値です。これは色の相対的な透明度を表し、0 が完全に透明、0xFF が完全に不透明です。0xFF 以外のアルファ値を使用すると、色は黒に対して追加のブレンディング処理を受けます。このブレンディング処理を避けるために、色を設定する際は 0xFF 以外のアルファ値を渡さないでください。

<a id="requirementsSection" />

## 要件

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

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

<a id="seealsoSection" />

## 関連項目

[Lighting API の概要](/build/core-features/common/lighting/gc-lighting-toc)\
[LampArray への色の設定](/build/core-features/common/lighting/lighting-colors)
