The VRFrameData interface of the WebVR API represents all the needed to render a single frame of a VR scene; constructed by
The VRFrameData interface of the WebVR API represents all the needed to render a single frame of a VR scene; constructed by
(constructor & args)
Constructor.
The web.vr.VRFrameData
constructor creates a VRFrameData object instance.
None.
See also: https://developer.mozilla.org/en-US/docs/Web/API/VRFrameData/VRFrameData
Constructor. The `web.vr.VRFrameData` constructor creates a VRFrameData object instance. None. See also: `https://developer.mozilla.org/en-US/docs/Web/API/VRFrameData/VRFrameData`
(left-projection-matrix this)
Property.
[Read Only] [Experimental]
The leftProjectionMatrix read-only property of the web.vr.VRFrameData
returns a js.Float32Array
representing a 4x4 matrix that describes
projection to be used for the left eye’s rendering.
var myLPM = vrFrameDataInstance.leftProjectionMatrix;
See also: https://developer.mozilla.org/en-US/docs/Web/API/VRFrameData/leftProjectionMatrix
Property. [Read Only] [Experimental] The leftProjectionMatrix read-only property of the `web.vr.VRFrameData` returns a `js.Float32Array` representing a 4x4 matrix that describes projection to be used for the left eye’s rendering. `var myLPM = vrFrameDataInstance.leftProjectionMatrix;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/VRFrameData/leftProjectionMatrix`
(left-view-matrix this)
Property.
[Read Only] [Experimental]
The leftViewMatrix read-only property of the web.vr.VRFrameData
returns a js.Float32Array
representing a 4x4 matrix that describes
view transform to be used for the left eye’s rendering.
var myLVM = vrFrameDataInstance.leftViewMatrix;
See also: https://developer.mozilla.org/en-US/docs/Web/API/VRFrameData/leftViewMatrix
Property. [Read Only] [Experimental] The leftViewMatrix read-only property of the `web.vr.VRFrameData` returns a `js.Float32Array` representing a 4x4 matrix that describes view transform to be used for the left eye’s rendering. `var myLVM = vrFrameDataInstance.leftViewMatrix;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/VRFrameData/leftViewMatrix`
(pose this)
Property.
[Read Only] [Experimental]
The pose read-only property of the web.vr.VRFrameData
interface
the web.vr.VRPose
of the web.media.VRDisplay
at the current
var myPose = vrFrameDataInstance.pose;
See also: https://developer.mozilla.org/en-US/docs/Web/API/VRFrameData/pose
Property. [Read Only] [Experimental] The pose read-only property of the `web.vr.VRFrameData` interface the `web.vr.VRPose` of the `web.media.VRDisplay` at the current `var myPose = vrFrameDataInstance.pose;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/VRFrameData/pose`
(right-projection-matrix this)
Property.
[Read Only] [Experimental]
The rightProjectionMatrix read-only property of the web.vr.VRFrameData
returns a js.Float32Array
representing a 4x4 matrix that describes
projection to be used for the right eye’s rendering.
var myRPM = vrFrameDataInstance.rightProjectionMatrix;
See also: https://developer.mozilla.org/en-US/docs/Web/API/VRFrameData/rightProjectionMatrix
Property. [Read Only] [Experimental] The rightProjectionMatrix read-only property of the `web.vr.VRFrameData` returns a `js.Float32Array` representing a 4x4 matrix that describes projection to be used for the right eye’s rendering. `var myRPM = vrFrameDataInstance.rightProjectionMatrix;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/VRFrameData/rightProjectionMatrix`
(right-view-matrix this)
Property.
[Read Only] [Experimental]
The rightViewMatrix read-only property of the web.vr.VRFrameData
returns a js.Float32Array
representing a 4x4 matrix that describes
view transform to be used for the right eye’s rendering.
var myRVM = vrFrameDataInstance.rightViewMatrix;
See also: https://developer.mozilla.org/en-US/docs/Web/API/VRFrameData/rightViewMatrix
Property. [Read Only] [Experimental] The rightViewMatrix read-only property of the `web.vr.VRFrameData` returns a `js.Float32Array` representing a 4x4 matrix that describes view transform to be used for the right eye’s rendering. `var myRVM = vrFrameDataInstance.rightViewMatrix;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/VRFrameData/rightViewMatrix`
(timestamp this)
Property.
[Read Only] [Experimental]
The timestamp read-only property of the web.vr.VRFrameData
returns a constantly increasing timestamp value representing
time a frame update occurred.
var myTimestamp = vrFrameDataInstance.timestamp;
See also: https://developer.mozilla.org/en-US/docs/Web/API/VRFrameData/timestamp
Property. [Read Only] [Experimental] The timestamp read-only property of the `web.vr.VRFrameData` returns a constantly increasing timestamp value representing time a frame update occurred. `var myTimestamp = vrFrameDataInstance.timestamp;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/VRFrameData/timestamp`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close