From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- .../ja/web/api/xrinputsource/handedness/index.html | 77 ++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 files/ja/web/api/xrinputsource/handedness/index.html (limited to 'files/ja/web/api/xrinputsource/handedness') diff --git a/files/ja/web/api/xrinputsource/handedness/index.html b/files/ja/web/api/xrinputsource/handedness/index.html new file mode 100644 index 0000000000..1095db5452 --- /dev/null +++ b/files/ja/web/api/xrinputsource/handedness/index.html @@ -0,0 +1,77 @@ +--- +title: XRInputSource.handedness +slug: Web/API/XRInputSource/handedness +tags: + - API + - AR + - Controller + - Handedness + - Input + - Property + - Read-only + - Reference + - VR + - WebXR + - WebXR API + - WebXR Device API + - XR + - XRInputSource + - hand + - left + - right +translation_of: Web/API/XRInputSource/handedness +--- +

{{APIRef("WebXR")}}{{securecontext_header}}

+ +

{{domxref("XRInputSource")}} の handedness 読み取り専用プロパティは、WebXR 入力ソースがユーザーのどの手に関連付けられているか、またはまったく関連付けられていないかを示します。

+ +

構文

+ +
let hand = xrInputSource.handedness;
+ +

+ +

入力コントローラーがユーザーの片方の手にあるかどうか、もしそうならどちらの手にあるかを示す {{domxref("DOMString")}}。 {{domxref("XRHandedness")}} 列挙型に由来する値は、次のいずれかです。

+ +

{{page("/ja/docs/Web/API/XRHandedness", "Values")}}

+ +

使用上の注意

+ +

入力ソースがユーザーの手に関連付けられたデバイスでない場合(握られているか、取り付けられているか、着用されているかに関係なく)、handedness の値は none です。 これは、例えば、ヘッドセットに組み込まれたコントロールや、頭や体に取り付けられた入力デバイスなど、ハンドヘルドではない入力ソースを示している場合があります。

+ +

+ +

{{page("/ja/docs/Web/API/XRHandedness", "Examples")}}

+ +

仕様

+ + + + + + + + + + + + + + +
仕様状態コメント
{{SpecName('WebXR','#dom-xrinputsource-handedness','XRInputSource.handedness')}}{{Spec2('WebXR')}}初期定義
+ +

ブラウザーの互換性

+ + + +

{{Compat("api.XRInputSource.handedness")}}

+ +

関連情報

+ + -- cgit v1.2.3-54-g00ecf