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

# Knob

> Knob

# Knob

プレイヤーが操作できるボタンのようなコンポーネントのスタイル属性。

## プロパティ

`background` - *object*、*省略可*。[color](/ja-jp/reference/system/touchadaptationkit/types/game-streaming-touch-color) または [image asset](/ja-jp/reference/system/touchadaptationkit/types/game-streaming-touch-asset) のいずれかを指定できます。

`faceImage` - *object*、*省略可*。[icon](/ja-jp/reference/system/touchadaptationkit/types/game-streaming-touch-icon) または [image asset](/ja-jp/reference/system/touchadaptationkit/types/game-streaming-touch-asset) のいずれかを指定できます。

`opacity` - *number*、*省略可*。コンポーネントに適用される不透明度。`disabled` を除くすべての状態で既定値は 1.0 です。

[`stroke`](/ja-jp/reference/system/touchadaptationkit/types/game-streaming-touch-stroke) - *object*、*省略可*。コンポーネントの輪郭に使用される [stroke](/ja-jp/reference/system/touchadaptationkit/types/game-streaming-touch-stroke) のスタイル指示。

## サンプル

```JSON theme={null}
{
    "knob": {
        "background" : {
            "type": "color",
            "value":  "#107C10"
        },
        "faceImage" : {
            "type": "icon",
            "value": "run"
        }
    },
}
```

## 補足

`knob` は、プレイヤーが操作できる、より複雑なコントロール (例: [joystick](/ja-jp/reference/system/touchadaptationkit/controls/game-streaming-touch-joystick)、[throttle](/ja-jp/reference/system/touchadaptationkit/controls/game-streaming-touch-throttle)) のコンポーネントです。

`knob` の既定の視覚スタイルはコントロールごとに異なります。

## 関連コントロール

[Joystick](/ja-jp/reference/system/touchadaptationkit/controls/game-streaming-touch-joystick)\
[Throttle](/ja-jp/reference/system/touchadaptationkit/controls/game-streaming-touch-throttle)

## 関連項目

[Touch Adaptation Kit リファレンス](/ja-jp/build/core-features/common/game-streaming/game-streaming-touch-touch-adaptation-kit-overview.md)


## Related topics

- [触控适配布局的自定义资产](/zh-CN/build/core-features/common/game-streaming/building-touch-layouts/game-streaming-tak-custom-assets.md)
- [터치 적응 레이아웃용 사용자 지정 자산](/ko/build/core-features/common/game-streaming/building-touch-layouts/game-streaming-tak-custom-assets.md)
- [タッチ適応レイアウト用のカスタム アセット](/ja-jp/build/core-features/common/game-streaming/building-touch-layouts/game-streaming-tak-custom-assets.md)
- [Touch Adaptation Kit](/reference/system/touchadaptationkit/touchadaptationkit-reference.md)
- [Touch Adaptation Kit (TAK) Reference](/build/core-features/common/game-streaming/game-streaming-touch-touch-adaptation-kit-overview.md)
