Liking cljdoc? Tell your friends :D

web.vr.VRLayerInit

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

left-boundscljs

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

right-boundscljs

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

set-left-bounds!cljs

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

set-right-bounds!cljs

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

set-source!cljs

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

sourcecljs

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

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

× close