{{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
- WebVR API homepage.
- MozVr.com — demos, downloads, and other resources from the Mozilla VR team.