This is an experimental technology
Because this technology's specification has not stabilized, check the compatibility table for usage in various browsers. Also note that the syntax and behavior of an experimental technology is subject to change in future versions of browsers as the specification changes.
VREyeParameters interface of the WebVR API represents all the information required to correctly render a scene for a given eye, including field of view information.
This interface is accessible through the
- Represents the offset from the center point between the user's eyes to the center of the eye, measured in meters.
- Describes the current field of view for the eye, which can vary as the user adjusts their interpupillary distance (IPD).
- Describes the recommended render target width of each eye viewport, in pixels.
- Describes the recommended render target height of each eye viewport, in pixels.
The definition of 'VREyeParameters' in that specification.
|Firefox Mobile (Gecko)
|Chrome for Android
© 2016 Mozilla Contributors
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.