The HMDVRDevice interface of the WebVR API represents a head display, providing access to information about each eye, and us to modify the current field of view.
The HMDVRDevice interface of the WebVR API represents a head display, providing access to information about each eye, and us to modify the current field of view.
(get-eye-parameters this & args)Method.
The getEyeParameters() method of the web.HMDVRDevice interface
current parameters for the eye specified as its argument ("left"
"right") — stored in a vr.VREyeParameters object.
var myLeftEye = HMDVRDevice.getEyeParameters('left');
See also: https://developer.mozilla.org/en-US/docs/Web/API/HMDVRDevice/getEyeParameters
Method.
The getEyeParameters() method of the `web.HMDVRDevice` interface
current parameters for the eye specified as its argument (\"left\"
\"right\") — stored in a `vr.VREyeParameters` object.
`var myLeftEye = HMDVRDevice.getEyeParameters('left');`
See also: `https://developer.mozilla.org/en-US/docs/Web/API/HMDVRDevice/getEyeParameters`(set-field-of-view this left-fov right-fov z-near z-far)Method.
The setFieldOfView() method of the web.HMDVRDevice interface
be used to set the field of view for one eye, or both eyes simultaneously.
HMDVRDevice.setFieldOfView(leftFOV,rightFOV,zNear,zFar);
See also: https://developer.mozilla.org/en-US/docs/Web/API/HMDVRDevice/setFieldOfView
Method. The setFieldOfView() method of the `web.HMDVRDevice` interface be used to set the field of view for one eye, or both eyes simultaneously. `HMDVRDevice.setFieldOfView(leftFOV,rightFOV,zNear,zFar);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/HMDVRDevice/setFieldOfView`
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |