diff options
author | Florian Merz <me@fiji-flo.de> | 2021-02-11 12:07:59 +0100 |
---|---|---|
committer | Florian Merz <me@fiji-flo.de> | 2021-02-11 12:07:59 +0100 |
commit | 6ef1fa4618e08426b874529619a66adbd3d1fcf0 (patch) | |
tree | 890e3e27131be010d82ef957fa68db495006cb0e /files/ja/web/api/vrdisplay/displayid | |
parent | 8260a606c143e6b55a467edf017a56bdcd6cba7e (diff) | |
download | translated-content-6ef1fa4618e08426b874529619a66adbd3d1fcf0.tar.gz translated-content-6ef1fa4618e08426b874529619a66adbd3d1fcf0.tar.bz2 translated-content-6ef1fa4618e08426b874529619a66adbd3d1fcf0.zip |
unslug ja: move
Diffstat (limited to 'files/ja/web/api/vrdisplay/displayid')
-rw-r--r-- | files/ja/web/api/vrdisplay/displayid/index.html | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/files/ja/web/api/vrdisplay/displayid/index.html b/files/ja/web/api/vrdisplay/displayid/index.html new file mode 100644 index 0000000000..8b1dd9b244 --- /dev/null +++ b/files/ja/web/api/vrdisplay/displayid/index.html @@ -0,0 +1,58 @@ +--- +title: VRDisplay.displayId +slug: Web/API/VRDevice/displayId +tags: + - API + - Experimental + - Property + - Reference + - VR + - VRDisplay + - Virtual Reality + - WebVR + - displayId +translation_of: Web/API/VRDisplay/displayId +--- +<div>{{APIRef("WebVR API")}}{{SeeCompatTable}}</div> + +<p>{{domxref("VRDisplay")}} インターフェイスの <strong><code>displayId</code></strong> 読み取り専用プロパティは、この特定の <code>VRDisplay</code> の識別子を返します。これは、 <a href="/en-US/docs/Web/API/Gamepad_API">Gamepad API</a> の関連付けポイントとしても使用されます( {{domxref("Gamepad.displayId")}} を参照)。</p> + +<h2 id="構文">構文</h2> + +<pre class="brush: js notranslate">var myDisplayID = vrDisplayInstance.displayId;</pre> + +<h3 id="値">値</h3> + +<p>特定の <code>VRDisplay</code> のIDを表す番号。</p> + +<h2 id="例">例</h2> + +<p>{{page("/Web/API/VRDisplayCapabilities", "Examples")}}</p> + +<h2 id="仕様">仕様</h2> + +<table class="standard-table"> + <tbody> + <tr> + <th scope="col">仕様</th> + <th scope="col">ステータス</th> + <th scope="col">備考</th> + </tr> + <tr> + <td>{{SpecName('WebVR 1.1', '#dom-vrdisplay-displayid', 'displayId')}}</td> + <td>{{Spec2('WebVR 1.1')}}</td> + <td>初回定義</td> + </tr> + </tbody> +</table> + +<h2 id="ブラウザー実装状況">ブラウザー実装状況</h2> + +<p>{{Compat("api.VRDisplay.displayId")}}</p> + +<h2 id="関連項目">関連項目</h2> + +<ul> + <li><a href="/en-US/docs/Web/API/WebVR_API">WebVR API homepage</a></li> + <li><a href="http://mozvr.com/">MozVr.com</a> — demos, downloads, and other resources from the Mozilla VR team.</li> +</ul> |