Liking cljdoc? Tell your friends :D

web.HMDVRDevice

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.
raw docstring

get-eye-parameterscljs

(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`
sourceraw docstring

set-field-of-viewcljs

(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`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close