The VRLayerInit interface (dictionary) of the WebVR API represents
content layer (an web.canvas.HTMLCanvasElement
or web.canvas.OffscreenCanvas
)
you want to present in a VR display.
The VRLayerInit interface (dictionary) of the WebVR API represents content layer (an `web.canvas.HTMLCanvasElement` or `web.canvas.OffscreenCanvas`) you want to present in a VR display.
(left-bounds this)
Property.
[Experimental]
The leftBounds property of the web.vr.VRLayerInit
interface
defines the left texture bounds of the canvas whose contents
be presented by the web.media.VRDisplay
.
var myVRLayerInit = { }; myVRLayerInit.leftBounds = [0.0, 0.0, 0.5, 1.0];
See also: https://developer.mozilla.org/en-US/docs/Web/API/VRLayerInit/leftBounds
Property. [Experimental] The leftBounds property of the `web.vr.VRLayerInit` interface defines the left texture bounds of the canvas whose contents be presented by the `web.media.VRDisplay`. `var myVRLayerInit = { }; myVRLayerInit.leftBounds = [0.0, 0.0, 0.5, 1.0];` See also: `https://developer.mozilla.org/en-US/docs/Web/API/VRLayerInit/leftBounds`
(right-bounds this)
Property.
[Experimental]
The rightBounds property of the web.vr.VRLayerInit
interface
defines the right texture bounds of the canvas whose contents
be presented by the web.media.VRDisplay
.
var myVRLayerInit = { }; myVRLayerInit.rightBounds = [0.5, 0.0, 0.5, 1.0];
See also: https://developer.mozilla.org/en-US/docs/Web/API/VRLayerInit/rightBounds
Property. [Experimental] The rightBounds property of the `web.vr.VRLayerInit` interface defines the right texture bounds of the canvas whose contents be presented by the `web.media.VRDisplay`. `var myVRLayerInit = { }; myVRLayerInit.rightBounds = [0.5, 0.0, 0.5, 1.0];` See also: `https://developer.mozilla.org/en-US/docs/Web/API/VRLayerInit/rightBounds`
(set-left-bounds! this val)
Property.
[Experimental]
The leftBounds property of the web.vr.VRLayerInit
interface
defines the left texture bounds of the canvas whose contents
be presented by the web.media.VRDisplay
.
var myVRLayerInit = { }; myVRLayerInit.leftBounds = [0.0, 0.0, 0.5, 1.0];
See also: https://developer.mozilla.org/en-US/docs/Web/API/VRLayerInit/leftBounds
Property. [Experimental] The leftBounds property of the `web.vr.VRLayerInit` interface defines the left texture bounds of the canvas whose contents be presented by the `web.media.VRDisplay`. `var myVRLayerInit = { }; myVRLayerInit.leftBounds = [0.0, 0.0, 0.5, 1.0];` See also: `https://developer.mozilla.org/en-US/docs/Web/API/VRLayerInit/leftBounds`
(set-right-bounds! this val)
Property.
[Experimental]
The rightBounds property of the web.vr.VRLayerInit
interface
defines the right texture bounds of the canvas whose contents
be presented by the web.media.VRDisplay
.
var myVRLayerInit = { }; myVRLayerInit.rightBounds = [0.5, 0.0, 0.5, 1.0];
See also: https://developer.mozilla.org/en-US/docs/Web/API/VRLayerInit/rightBounds
Property. [Experimental] The rightBounds property of the `web.vr.VRLayerInit` interface defines the right texture bounds of the canvas whose contents be presented by the `web.media.VRDisplay`. `var myVRLayerInit = { }; myVRLayerInit.rightBounds = [0.5, 0.0, 0.5, 1.0];` See also: `https://developer.mozilla.org/en-US/docs/Web/API/VRLayerInit/rightBounds`
(set-source! this val)
Property.
[Experimental]
The source property of the web.vr.VRLayerInit
interface (dictionary)
the canvas whose contents will be presented by the web.media.VRDisplay
.
var myVRLayerInit = { }; myVRLayerInit.source = myCanvas;
See also: https://developer.mozilla.org/en-US/docs/Web/API/VRLayerInit/source
Property. [Experimental] The source property of the `web.vr.VRLayerInit` interface (dictionary) the canvas whose contents will be presented by the `web.media.VRDisplay`. `var myVRLayerInit = { }; myVRLayerInit.source = myCanvas;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/VRLayerInit/source`
(source this)
Property.
[Experimental]
The source property of the web.vr.VRLayerInit
interface (dictionary)
the canvas whose contents will be presented by the web.media.VRDisplay
.
var myVRLayerInit = { }; myVRLayerInit.source = myCanvas;
See also: https://developer.mozilla.org/en-US/docs/Web/API/VRLayerInit/source
Property. [Experimental] The source property of the `web.vr.VRLayerInit` interface (dictionary) the canvas whose contents will be presented by the `web.media.VRDisplay`. `var myVRLayerInit = { }; myVRLayerInit.source = myCanvas;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/VRLayerInit/source`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close