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

# 向き

> Orientation (非推奨)

# Orientation (非推奨)

タッチ レイアウトが表示される向き。この機能は非推奨になりました。すべてのエンドポイントはこの値を無視します。

> [!WARNING]
>
> Orientation は非推奨であり、どのレイアウトでも使用しないでください。すべてのエンドポイントはこの値を無視します。

## 定数

| 定数 | 説明 |
| :- | :- |
| **landscape** | レイアウトの左上がビデオ ストリームの左上と等しくなるよう横向きモードでレンダリングします。 |
| **portrait** | レイアウトの左上がビデオ ストリームの左下と等しくなるよう縦向きモードでレンダリングします (ビデオ ストリームが反時計回りに 90 度回転したかのように)。 |
| **landscape-left** | デバイスの上部が左側にある横向きモードでレンダリングします。 |
| **landscape-right** | デバイスの上部が右側にある横向きモードでレンダリングします。 |
| **portrait-up** | デバイスの上部が上側にある縦向きモードでレンダリングします。 |

## 補足

> [!WARNING]
>
> ストリーミング クライアントは、XBOX のビデオ出力との関係で、常にビデオ ストリームを `landscape` の向きで表示します。

プレイヤーがデバイスを特定の方法で保持していることを前提とする向きを利用すると、一部のプレイヤーで予期しない結果になる可能性があります。`landscape` または `portrait` の向きのみを使用することを推奨します。

## 関連項目

[Touch Adaptation Kit リファレンス](https://devdocs.xbox.com/ja-jp/build/core-features/common/game-streaming/game-streaming-touch-touch-adaptation-kit-overview.md)\
[Layout](https://devdocs.xbox.com/ja-jp/reference/system/touchadaptationkit/layout/game-streaming-touch-layout)


## Related topics

- [XBOX Accessibility Guideline 107](https://devdocs.xbox.com/ja-jp/build/game-principles/accessibility/xag-deep-dives/xag-107-input.md)
- [D3D12_CULL_MODE](https://devdocs.xbox.com/ja-jp/reference/graphics/d3d12/enums/d3d12_cull_mode_public.md)
- [ゲーム ストリーミングにおけるカスタム解像度のベスト プラクティス](https://devdocs.xbox.com/ja-jp/build/core-features/common/game-streaming/game-streaming-custom-resolution-best-practices.md)
- [D3D12_RAYTRACING_INSTANCE_FLAGS (XBOX Series 本体)](https://devdocs.xbox.com/ja-jp/reference/graphics/d3d12/enums/d3d12_raytracing_instance_flags_public.md)
- [Touch Adaptation Kit (TAK) リファレンス](https://devdocs.xbox.com/ja-jp/build/core-features/common/game-streaming/game-streaming-touch-touch-adaptation-kit-overview.md)
