Liking cljdoc? Tell your friends :D

web.vr.VRDisplayCapabilities

The VRDisplayCapabilities interface of the WebVR API describes capabilities of a web.media.VRDisplay — its features can be to perform VR device capability tests, for example can it return information.

The VRDisplayCapabilities interface of the WebVR API describes
capabilities of a `web.media.VRDisplay` — its features can be
to perform VR device capability tests, for example can it return
information.
raw docstring

can-presentcljs

(can-present this)

Property.

[Read Only] [Experimental]

The canPresent read-only property of the web.vr.VRDisplayCapabilities returns a js.Boolean stating whether the VR display is capable presenting content (e.g. through an HMD).

var canIPresent = vrDisplayCapabilitiesInstance.canPresent;

See also: https://developer.mozilla.org/en-US/docs/Web/API/VRDisplayCapabilities/canPresent

Property.

[Read Only]
[Experimental]

The canPresent read-only property of the `web.vr.VRDisplayCapabilities`
returns a `js.Boolean` stating whether the VR display is capable
presenting content (e.g. through an HMD).

`var canIPresent = vrDisplayCapabilitiesInstance.canPresent;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/VRDisplayCapabilities/canPresent`
sourceraw docstring

has-external-displaycljs

(has-external-display this)

Property.

[Read Only] [Experimental]

The hasExternalDisplay read-only property of the web.vr.VRDisplayCapabilities returns a js.Boolean stating whether the VR display is separate the device's primary display.

var hasAnExternalDisplay = vrDisplayCapabilitiesInstance.hasExternalDisplay;

See also: https://developer.mozilla.org/en-US/docs/Web/API/VRDisplayCapabilities/hasExternalDisplay

Property.

[Read Only]
[Experimental]

The hasExternalDisplay read-only property of the `web.vr.VRDisplayCapabilities`
returns a `js.Boolean` stating whether the VR display is separate
the device's primary display.

`var hasAnExternalDisplay = vrDisplayCapabilitiesInstance.hasExternalDisplay;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/VRDisplayCapabilities/hasExternalDisplay`
sourceraw docstring

has-orientationcljs

(has-orientation this)

Property.

[Read Only] [Deprecated] [Experimental]

The hasOrientation read-only property of the web.vr.VRDisplayCapabilities returns a js.Boolean stating whether the VR display can track return orientation information.

var hasItGotOrientation = vrDisplayCapabilitiesInstance.hasOrientation;

See also: https://developer.mozilla.org/en-US/docs/Web/API/VRDisplayCapabilities/hasOrientation

Property.

[Read Only]
[Deprecated]
[Experimental]

The hasOrientation read-only property of the `web.vr.VRDisplayCapabilities`
returns a `js.Boolean` stating whether the VR display can track
return orientation information.

`var hasItGotOrientation = vrDisplayCapabilitiesInstance.hasOrientation;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/VRDisplayCapabilities/hasOrientation`
sourceraw docstring

has-positioncljs

(has-position this)

Property.

[Read Only] [Experimental]

The hasPosition read-only property of the web.vr.VRDisplayCapabilities returns a js.Boolean stating whether the VR display can track return position information.

var hasItGotPosition = vrDisplayCapabilitiesInstance.hasPosition;

See also: https://developer.mozilla.org/en-US/docs/Web/API/VRDisplayCapabilities/hasPosition

Property.

[Read Only]
[Experimental]

The hasPosition read-only property of the `web.vr.VRDisplayCapabilities`
returns a `js.Boolean` stating whether the VR display can track
return position information.

`var hasItGotPosition = vrDisplayCapabilitiesInstance.hasPosition;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/VRDisplayCapabilities/hasPosition`
sourceraw docstring

max-layerscljs

(max-layers this)

Property.

[Read Only] [Experimental]

The maxLayers read-only property of the web.vr.VRDisplayCapabilities returns a number indicating the maximum number of VRLayers the VR display can present at once (e.g. the maximum length of array that Display.requestPresent() can accept.)

var maximumLayers = vrDisplayCapabilitiesInstance.maxLayers;

See also: https://developer.mozilla.org/en-US/docs/Web/API/VRDisplayCapabilities/maxLayers

Property.

[Read Only]
[Experimental]

The maxLayers read-only property of the `web.vr.VRDisplayCapabilities`
returns a number indicating the maximum number of `VRLayer`s
the VR display can present at once (e.g. the maximum length of
array that `Display.requestPresent()` can accept.)

`var maximumLayers = vrDisplayCapabilitiesInstance.maxLayers;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/VRDisplayCapabilities/maxLayers`
sourceraw docstring

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

× close