diff options
Diffstat (limited to 'files/ja/web/api/vreyeparameters')
-rw-r--r-- | files/ja/web/api/vreyeparameters/fieldofview/index.html | 96 | ||||
-rw-r--r-- | files/ja/web/api/vreyeparameters/index.html | 103 | ||||
-rw-r--r-- | files/ja/web/api/vreyeparameters/offset/index.html | 102 | ||||
-rw-r--r-- | files/ja/web/api/vreyeparameters/renderheight/index.html | 48 | ||||
-rw-r--r-- | files/ja/web/api/vreyeparameters/renderwidth/index.html | 96 |
5 files changed, 445 insertions, 0 deletions
diff --git a/files/ja/web/api/vreyeparameters/fieldofview/index.html b/files/ja/web/api/vreyeparameters/fieldofview/index.html new file mode 100644 index 0000000000..ba4267aecd --- /dev/null +++ b/files/ja/web/api/vreyeparameters/fieldofview/index.html @@ -0,0 +1,96 @@ +--- +title: VREyeParameters.fieldOfView +slug: Web/API/VREyeParameters/fieldOfView +translation_of: Web/API/VREyeParameters/fieldOfView +--- +<p>{{APIRef("WebVR API")}}{{SeeCompatTable}}</p> + +<p>{{domxref("VREyeParameters")}} インターフェイスの <strong><code>fieldOfView</code></strong> 読取専用プロパティは,現在の眼の視野角(field of view)を表します.この値は瞳孔間距離(IPD)をユーザが調整するとそれに応じて変化します.</p> + +<h2 id="シンタックス">シンタックス</h2> + +<pre class="brush: js">var curFOV = myVRDisplay.getEyeParameters('left').fieldOfView;</pre> + +<h3 id="値">値</h3> + +<p>{{domxref("VRFieldOfView")}} オブジェクト.</p> + +<h2 id="例">例</h2> + +<pre>TBD.</pre> + +<h2 id="仕様">仕様</h2> + +<table class="standard-table"> + <tbody> + <tr> + <th scope="col">Specification</th> + <th scope="col">Status</th> + <th scope="col">Comment</th> + </tr> + <tr> + <td>{{SpecName('WebVR', '#dom-vreyeparameters-fieldofview', 'fieldOfView')}}</td> + <td>{{Spec2('WebVR')}}</td> + <td>Initial definition</td> + </tr> + </tbody> +</table> + +<h2 id="ブラウザの互換性">ブラウザの互換性</h2> + +<p>{{CompatibilityTable}}</p> + +<div id="compat-desktop"> +<table class="compat-table"> + <tbody> + <tr> + <th>Feature</th> + <th>Chrome</th> + <th>Firefox (Gecko)</th> + <th>Internet Explorer</th> + <th>Opera</th> + <th>Safari (WebKit)</th> + </tr> + <tr> + <td>Basic support</td> + <td>{{CompatVersionUnknown}}</td> + <td>{{CompatVersionUnknown}}</td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}}</td> + </tr> + </tbody> +</table> +</div> + +<div id="compat-mobile"> +<table class="compat-table"> + <tbody> + <tr> + <th>Feature</th> + <th>Android</th> + <th>Firefox Mobile (Gecko)</th> + <th>IE Phone</th> + <th>Opera Mobile</th> + <th>Safari Mobile</th> + <th>Chrome for Android</th> + </tr> + <tr> + <td>Basic support</td> + <td>{{CompatNo}}</td> + <td>{{CompatVersionUnknown}}</td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}}</td> + </tr> + </tbody> +</table> +</div> + +<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> — Mozilla VRチームのデモ,ダウンロード,その他のリソース.</li> +</ul> diff --git a/files/ja/web/api/vreyeparameters/index.html b/files/ja/web/api/vreyeparameters/index.html new file mode 100644 index 0000000000..7b70c5c741 --- /dev/null +++ b/files/ja/web/api/vreyeparameters/index.html @@ -0,0 +1,103 @@ +--- +title: VREyeParameters +slug: Web/API/VREyeParameters +translation_of: Web/API/VREyeParameters +--- +<div>{{APIRef("WebVR API")}}{{SeeCompatTable}}</div> + +<p><a href="/en-US/docs/Web/API/WebVR_API">WebVR API</a> の <strong><code>VREyeParameters</code></strong> インターフェイスは,指定した眼のためにシーンを正しくレンダリングするためのすべての情報(視界(field of view)の情報を含む)を表現します.</p> + +<p>このインターフェイスは {{domxref("VRDisplay.getEyeParameters()")}} メソッドを通じてアクセスできます.</p> + +<h2 id="プロパティ">プロパティ</h2> + +<dl> + <dt>{{domxref("VREyeParameters.offset")}} {{readonlyInline}}</dt> + <dd><dfn>ユーザの両眼の中心点から指定した眼の中心へのオフセット量を示します.単位はメートルです.</dfn></dd> + <dt>{{domxref("VREyeParameters.fieldOfView")}} {{readonlyInline}}</dt> + <dd><dfn>指定した眼の現在の視界(FOV)を示しています.これはユーザが瞳孔間距離(IPD)の調整することによって変化します.</dfn></dd> + <dt>{{domxref("VREyeParameters.renderWidth")}} {{readonlyInline}}</dt> + <dd>それぞれの眼のビューポートの推奨レンダーターゲット幅を示します.単位はピクセルです.</dd> + <dt>{{domxref("VREyeParameters.renderHeight")}} {{readonlyInline}}</dt> + <dd>それぞれの眼のビューポートの推奨レンダーターゲット高さを示します.単位はピクセルです.</dd> +</dl> + +<h2 id="例">例</h2> + +<pre>TBD.</pre> + +<h2 id="仕様">仕様</h2> + +<table class="standard-table"> + <tbody> + <tr> + <th scope="col">Specification</th> + <th scope="col">Status</th> + <th scope="col">Comment</th> + </tr> + <tr> + <td>{{SpecName('WebVR', '#vreyeparameters', 'VREyeParameters')}}</td> + <td>{{Spec2('WebVR')}}</td> + <td>Initial definition</td> + </tr> + </tbody> +</table> + +<h2 id="ブラウザの互換性">ブラウザの互換性</h2> + +<p>{{CompatibilityTable}}</p> + +<div id="compat-desktop"> +<table class="compat-table"> + <tbody> + <tr> + <th>Feature</th> + <th>Chrome</th> + <th>Firefox (Gecko)</th> + <th>Internet Explorer</th> + <th>Opera</th> + <th>Safari (WebKit)</th> + </tr> + <tr> + <td>Basic support</td> + <td>{{CompatVersionUnknown}}</td> + <td>{{CompatVersionUnknown}}</td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}}</td> + </tr> + </tbody> +</table> +</div> + +<div id="compat-mobile"> +<table class="compat-table"> + <tbody> + <tr> + <th>Feature</th> + <th>Android</th> + <th>Firefox Mobile (Gecko)</th> + <th>IE Phone</th> + <th>Opera Mobile</th> + <th>Safari Mobile</th> + <th>Chrome for Android</th> + </tr> + <tr> + <td>Basic support</td> + <td>{{CompatNo}}</td> + <td>{{CompatVersionUnknown}}</td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}}</td> + </tr> + </tbody> +</table> +</div> + +<h2 id="See_also">See also</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> — Mozilla VRチームのデモ,ダウンロード,その他のリソース.</li> +</ul> diff --git a/files/ja/web/api/vreyeparameters/offset/index.html b/files/ja/web/api/vreyeparameters/offset/index.html new file mode 100644 index 0000000000..89555d354b --- /dev/null +++ b/files/ja/web/api/vreyeparameters/offset/index.html @@ -0,0 +1,102 @@ +--- +title: VREyeParameters.offset +slug: Web/API/VREyeParameters/offset +translation_of: Web/API/VREyeParameters/offset +--- +<p>{{APIRef("WebVR API")}}{{SeeCompatTable}}</p> + +<p>{{domxref("VREyeParameters")}} インターフェイスの <strong><code>offset</code></strong> 読取専用プロパティは,ユーザの両眼の中心からのオフセット量を表します.単位はメートルです.</p> + +<p>この値は,ユーザの瞳孔間距離(IPD)の半分になっているべきですが,指定した側の眼のレンズの中心とヘッドセットの中心との距離を表す場合があります.</p> + +<h2 id="シンタックス">シンタックス</h2> + +<pre class="brush: js">var myEyeTranslation = myVRDisplay.getEyeParameters('left').offset;</pre> + +<h3 id="値">値</h3> + +<p>{{domxref("Float32Array")}}.</p> + +<div class="note"> +<p><dfn><strong>注記</strong>: 左目の値は負で,右目の場合は正の値になります.</dfn></p> +</div> + +<h2 id="例">例</h2> + +<pre>TBD.</pre> + +<h2 id="仕様">仕様</h2> + +<table class="standard-table"> + <tbody> + <tr> + <th scope="col">Specification</th> + <th scope="col">Status</th> + <th scope="col">Comment</th> + </tr> + <tr> + <td>{{SpecName('WebVR', '#dom-vreyeparameters-offset', 'offset')}}</td> + <td>{{Spec2('WebVR')}}</td> + <td>Initial definition</td> + </tr> + </tbody> +</table> + +<h2 id="ブラウザの互換性">ブラウザの互換性</h2> + +<p>{{CompatibilityTable}}</p> + +<div id="compat-desktop"> +<table class="compat-table"> + <tbody> + <tr> + <th>Feature</th> + <th>Chrome</th> + <th>Firefox (Gecko)</th> + <th>Internet Explorer</th> + <th>Opera</th> + <th>Safari (WebKit)</th> + </tr> + <tr> + <td>Basic support</td> + <td>{{CompatVersionUnknown}}</td> + <td>{{CompatVersionUnknown}}</td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}}</td> + </tr> + </tbody> +</table> +</div> + +<div id="compat-mobile"> +<table class="compat-table"> + <tbody> + <tr> + <th>Feature</th> + <th>Android</th> + <th>Firefox Mobile (Gecko)</th> + <th>IE Phone</th> + <th>Opera Mobile</th> + <th>Safari Mobile</th> + <th>Chrome for Android</th> + </tr> + <tr> + <td>Basic support</td> + <td>{{CompatNo}}</td> + <td>{{CompatVersionUnknown}}</td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}}</td> + </tr> + </tbody> +</table> +</div> + +<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> — Mozilla VRチームのデモ,ダウンロード,その他のリソース.</li> +</ul> diff --git a/files/ja/web/api/vreyeparameters/renderheight/index.html b/files/ja/web/api/vreyeparameters/renderheight/index.html new file mode 100644 index 0000000000..8b66167ec2 --- /dev/null +++ b/files/ja/web/api/vreyeparameters/renderheight/index.html @@ -0,0 +1,48 @@ +--- +title: VREyeParameters.renderHeight +slug: Web/API/VREyeParameters/renderHeight +translation_of: Web/API/VREyeParameters/renderHeight +--- +<p>{{APIRef("WebVR API")}}{{SeeCompatTable}}</p> + +<p>{{domxref("VREyeParameters")}} インターフェイスの <strong><code>renderHeight</code></strong> 読取専用プロパティは,各眼のビューポートの推奨レンダーターゲット高さをピクセル値で表します.</p> + +<h2 id="シンタックス">シンタックス</h2> + +<pre class="brush: js">var curRenderHeight = myVRDisplay.getEyeParameters('left').renderHeight;</pre> + +<h3 id="値">値</h3> + +<p>高さを表す数値.ピクセル単位.</p> + +<h2 id="例">例</h2> + +<pre>TBD.</pre> + +<h2 id="仕様">仕様</h2> + +<table class="standard-table"> + <tbody> + <tr> + <th scope="col">Specification</th> + <th scope="col">Status</th> + <th scope="col">Comment</th> + </tr> + <tr> + <td>{{SpecName('WebVR', '#dom-vreyeparameters-renderheight', 'renderHeight')}}</td> + <td>{{Spec2('WebVR')}}</td> + <td>Initial definition</td> + </tr> + </tbody> +</table> + +<h2 id="ブラウザの互換性">ブラウザの互換性</h2> + +<p>{{Compat("api.VREyeParameters.renderHeight")}}</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> — Mozilla VRチームのデモ,ダウンロード,その他のリソース.</li> +</ul> diff --git a/files/ja/web/api/vreyeparameters/renderwidth/index.html b/files/ja/web/api/vreyeparameters/renderwidth/index.html new file mode 100644 index 0000000000..de83509ea4 --- /dev/null +++ b/files/ja/web/api/vreyeparameters/renderwidth/index.html @@ -0,0 +1,96 @@ +--- +title: VREyeParameters.renderWidth +slug: Web/API/VREyeParameters/renderWidth +translation_of: Web/API/VREyeParameters/renderWidth +--- +<p>{{APIRef("WebVR API")}}{{SeeCompatTable}}</p> + +<p>{{domxref("VREyeParameters")}} インターフェイスの <strong><code>renderWidth</code></strong> 読取専用プロパティは,各眼のビューポートの推奨レンダーターゲット幅をピクセル値で表します.</p> + +<h2 id="シンタックス">シンタックス</h2> + +<pre class="brush: js">var curRenderWidth = myVRDisplay.getEyeParameters('left').renderWidth;</pre> + +<h3 id="値">値</h3> + +<p>幅を表す数値.ピクセル単位.</p> + +<h2 id="例">例</h2> + +<pre>TBD.</pre> + +<h2 id="仕様">仕様</h2> + +<table class="standard-table"> + <tbody> + <tr> + <th scope="col">Specification</th> + <th scope="col">Status</th> + <th scope="col">Comment</th> + </tr> + <tr> + <td>{{SpecName('WebVR', '#dom-vreyeparameters-renderwidth', 'renderWidth')}}</td> + <td>{{Spec2('WebVR')}}</td> + <td>Initial definition</td> + </tr> + </tbody> +</table> + +<h2 id="ブラウザの互換性">ブラウザの互換性</h2> + +<p>{{CompatibilityTable}}</p> + +<div id="compat-desktop"> +<table class="compat-table"> + <tbody> + <tr> + <th>Feature</th> + <th>Chrome</th> + <th>Firefox (Gecko)</th> + <th>Internet Explorer</th> + <th>Opera</th> + <th>Safari (WebKit)</th> + </tr> + <tr> + <td>Basic support</td> + <td>{{CompatVersionUnknown}}</td> + <td>{{CompatVersionUnknown}}</td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}}</td> + </tr> + </tbody> +</table> +</div> + +<div id="compat-mobile"> +<table class="compat-table"> + <tbody> + <tr> + <th>Feature</th> + <th>Android</th> + <th>Firefox Mobile (Gecko)</th> + <th>IE Phone</th> + <th>Opera Mobile</th> + <th>Safari Mobile</th> + <th>Chrome for Android</th> + </tr> + <tr> + <td>Basic support</td> + <td>{{CompatNo}}</td> + <td>{{CompatVersionUnknown}}</td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}}</td> + </tr> + </tbody> +</table> +</div> + +<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> — Mozilla VRチームのデモ,ダウンロード,その他のリソース.</li> +</ul> |