Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Revision 1058210 of VRFieldOfView

  • Revision slug: Web/API/VRFieldOfView
  • Revision title: VRFieldOfView
  • Revision id: 1058210
  • Created:
  • Creator: chrisdavidmills
  • Is current revision? No
  • Comment

Revision Content

{{draft}}{{APIRef("WebVR API")}}{{SeeCompatTable}}

The VRFieldOfView interface of the WebVR API represents a field of view defined by 4 different degree values describing the view from a center point.

Properties

{{domxref("VRFieldOfView.upDegrees")}} {{readonlyInline}}
The number of degrees upwards that the field of view extends in.
{{domxref("VRFieldOfView.rightDegrees")}} {{readonlyInline}}
The number of degrees to the right that the field of view extends in.
{{domxref("VRFieldOfView.downDegrees")}} {{readonlyInline}}
The number of degrees downwards that the field of view extends in.
{{domxref("VRFieldOfView.leftDegrees")}} {{readonlyInline}}
The number of degrees to the left that the field of view extends in.

Examples

TBD.

Specifications

Specification Status Comment
{{SpecName('WebVR', '#interface-interface-vrfieldofview', 'VRFieldOfView')}} {{Spec2('WebVR')}} Initial definition

Browser compatibility

{{CompatibilityTable}}

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support {{CompatVersionUnknown}} {{CompatVersionUnknown}} {{CompatNo}} {{CompatNo}} {{CompatNo}}
Feature Android Firefox Mobile (Gecko) Firefox OS (Gecko) IE Phone Opera Mobile Safari Mobile Chrome for Android
Basic support {{CompatNo}} {{CompatVersionUnknown}} {{CompatNo}} {{CompatNo}} {{CompatNo}} {{CompatNo}} {{CompatNo}}

See also

Revision Source

<p>{{draft}}{{APIRef("WebVR API")}}{{SeeCompatTable}}</p>

<p>The <strong><code>VRFieldOfView</code></strong> interface of the <a href="/en-US/docs/Web/API/WebVR_API">WebVR API</a> represents a field of view defined by 4 different degree values describing the view from a center point.</p>

<h2 id="Properties">Properties</h2>

<dl>
 <dt>{{domxref("VRFieldOfView.upDegrees")}} {{readonlyInline}}</dt>
 <dd>The number of degrees upwards that the field of view extends in.</dd>
 <dt>{{domxref("VRFieldOfView.rightDegrees")}} {{readonlyInline}}</dt>
 <dd>The number of degrees to the right that the field of view extends in.</dd>
 <dt>{{domxref("VRFieldOfView.downDegrees")}} {{readonlyInline}}</dt>
 <dd>The number of degrees downwards that the field of view extends in.</dd>
 <dt>{{domxref("VRFieldOfView.leftDegrees")}} {{readonlyInline}}</dt>
 <dd>The number of degrees to the left that the field of view extends in.</dd>
</dl>

<h2 id="Examples">Examples</h2>

<pre>
TBD.</pre>

<h2 id="Specifications">Specifications</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', '#interface-interface-vrfieldofview', 'VRFieldOfView')}}</td>
   <td>{{Spec2('WebVR')}}</td>
   <td>Initial definition</td>
  </tr>
 </tbody>
</table>

<h2 id="Browser_compatibility">Browser compatibility</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>Firefox OS (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>
   <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="https://mozvr.com/">MozVr.com</a> — demos, downloads, and other resources from the Mozilla VR team.</li>
</ul>
Revert to this revision