The VRLayerInit interface (dictionary) of the WebVR API represents
content layer (an html.HTMLCanvasElement or web.OffscreenCanvas)
you want to present in a VR display.
The VRLayerInit interface (dictionary) of the WebVR API represents content layer (an `html.HTMLCanvasElement` or `web.OffscreenCanvas`) you want to present in a VR display.
(left-bounds this)Property.
The leftBounds property of the vr.VRLayerInit interface (dictionary)
the left texture bounds of the canvas whose contents will be
by the vr.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.
The leftBounds property of the `vr.VRLayerInit` interface (dictionary)
the left texture bounds of the canvas whose contents will be
by the `vr.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.
The rightBounds property of the vr.VRLayerInit interface (dictionary)
the right texture bounds of the canvas whose contents will be
by the vr.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.
The rightBounds property of the `vr.VRLayerInit` interface (dictionary)
the right texture bounds of the canvas whose contents will be
by the `vr.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.
The leftBounds property of the vr.VRLayerInit interface (dictionary)
the left texture bounds of the canvas whose contents will be
by the vr.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.
The leftBounds property of the `vr.VRLayerInit` interface (dictionary)
the left texture bounds of the canvas whose contents will be
by the `vr.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.
The rightBounds property of the vr.VRLayerInit interface (dictionary)
the right texture bounds of the canvas whose contents will be
by the vr.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.
The rightBounds property of the `vr.VRLayerInit` interface (dictionary)
the right texture bounds of the canvas whose contents will be
by the `vr.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.
The source property of the vr.VRLayerInit interface (dictionary)
the canvas whose contents will be presented by the vr.VRDisplay.
var myVRLayerInit = { }; myVRLayerInit.source = myCanvas;
See also: https://developer.mozilla.org/en-US/docs/Web/API/VRLayerInit/source
Property.
The source property of the `vr.VRLayerInit` interface (dictionary)
the canvas whose contents will be presented by the `vr.VRDisplay`.
`var myVRLayerInit = { };
myVRLayerInit.source = myCanvas;`
See also: `https://developer.mozilla.org/en-US/docs/Web/API/VRLayerInit/source`(source this)Property.
The source property of the vr.VRLayerInit interface (dictionary)
the canvas whose contents will be presented by the vr.VRDisplay.
var myVRLayerInit = { }; myVRLayerInit.source = myCanvas;
See also: https://developer.mozilla.org/en-US/docs/Web/API/VRLayerInit/source
Property.
The source property of the `vr.VRLayerInit` interface (dictionary)
the canvas whose contents will be presented by the `vr.VRDisplay`.
`var myVRLayerInit = { };
myVRLayerInit.source = myCanvas;`
See also: `https://developer.mozilla.org/en-US/docs/Web/API/VRLayerInit/source`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 |