Liking cljdoc? Tell your friends :D

vr.VRLayerInit

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

left-boundscljs

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

right-boundscljs

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

set-left-bounds!cljs

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

set-right-bounds!cljs

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

set-source!cljs

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

sourcecljs

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

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

× close