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/vrdevice/requestanimationframe/index.html | |
| 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/vrdevice/requestanimationframe/index.html')
| -rw-r--r-- | files/ja/web/api/vrdevice/requestanimationframe/index.html | 109 |
1 files changed, 0 insertions, 109 deletions
diff --git a/files/ja/web/api/vrdevice/requestanimationframe/index.html b/files/ja/web/api/vrdevice/requestanimationframe/index.html deleted file mode 100644 index 0865966016..0000000000 --- a/files/ja/web/api/vrdevice/requestanimationframe/index.html +++ /dev/null @@ -1,109 +0,0 @@ ---- -title: VRDisplay.requestAnimationFrame() -slug: Web/API/VRDevice/requestAnimationFrame -translation_of: Web/API/VRDisplay/requestAnimationFrame ---- -<div>{{APIRef("WebVR API")}}{{SeeCompatTable}}</div> - -<p>{{domxref("VRDisplay")}} インターフェイスの <code><strong>requestAnimationFrame()</strong></code> メソッドは,{{domxref("Window.requestAnimationFrame")}} の特別な実装です.このメソッドは <code>VRDisplay</code> がレンダリングされている間,新しいフレーム毎に呼出されるコールバック関数を持ちます:</p> - -<ul> - <li><code>VRDisplay</code> がシーンを表示していないときは, {{domxref("Window.requestAnimationFrame")}} と等価な働きをします.</li> - <li>VRDisplay が表示されている場合は,<code>VRDisplay のネイティブなリフレッシュレートでコールバックが呼び出されます.</code></li> -</ul> - -<h2 id="シンタックス">シンタックス</h2> - -<pre class="brush: js">var handle = vrDisplayInstance.requestAnimationFrame(<em>callback</em>); -</pre> - -<h3 id="パラメータ">パラメータ</h3> - -<dl> - <dt>callback</dt> - <dd><code>描画されている VRDisplay の新しいフレーム描画の度に呼出されるコールバック関数.</code></dd> -</dl> - -<h3 id="戻り値">戻り値</h3> - -<p><code>requestAnimationFrame()呼出しのハンドルを表す</code> long値.この値は,コールバックを登録解除するために {{domxref("VRDisplay.cancelAnimationFrame()")}} 呼出しへ渡すのに使えます.</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-vrdisplay-requestanimationframe', 'requestAnimationFrame()')}}</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> |
