Liking cljdoc? Tell your friends :D

vr.VRDisplayCapabilities

The VRDisplayCapabilities interface of the WebVR API describes capabilities of a vr.VRDisplay — its features can be used to VR device capability tests, for example can it return position

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

can-presentcljs

(can-present this)

Property.

The canPresent read-only property of the vr.VRDisplayCapabilities returns a web.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.

The canPresent read-only property of the `vr.VRDisplayCapabilities`
returns a `web.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.

The hasExternalDisplay read-only property of the vr.VRDisplayCapabilities returns a web.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.

The hasExternalDisplay read-only property of the `vr.VRDisplayCapabilities`
returns a `web.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.

The hasOrientation read-only property of the vr.VRDisplayCapabilities returns a web.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.

The hasOrientation read-only property of the `vr.VRDisplayCapabilities`
returns a `web.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.

The hasPosition read-only property of the vr.VRDisplayCapabilities returns a web.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.

The hasPosition read-only property of the `vr.VRDisplayCapabilities`
returns a `web.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.

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

var maximumLayers = vrDisplayCapabilitiesInstance.maxLayers;

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

Property.

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

`var maximumLayers = vrDisplayCapabilitiesInstance.maxLayers;`

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

set-can-present!cljs

(set-can-present! this val)

Property.

The canPresent read-only property of the vr.VRDisplayCapabilities returns a web.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.

The canPresent read-only property of the `vr.VRDisplayCapabilities`
returns a `web.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

set-has-external-display!cljs

(set-has-external-display! this val)

Property.

The hasExternalDisplay read-only property of the vr.VRDisplayCapabilities returns a web.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.

The hasExternalDisplay read-only property of the `vr.VRDisplayCapabilities`
returns a `web.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

set-has-orientation!cljs

(set-has-orientation! this val)

Property.

The hasOrientation read-only property of the vr.VRDisplayCapabilities returns a web.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.

The hasOrientation read-only property of the `vr.VRDisplayCapabilities`
returns a `web.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

set-has-position!cljs

(set-has-position! this val)

Property.

The hasPosition read-only property of the vr.VRDisplayCapabilities returns a web.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.

The hasPosition read-only property of the `vr.VRDisplayCapabilities`
returns a `web.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

set-max-layers!cljs

(set-max-layers! this val)

Property.

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

var maximumLayers = vrDisplayCapabilitiesInstance.maxLayers;

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

Property.

The maxLayers read-only property of the `vr.VRDisplayCapabilities`
returns a number indicating the maximum number of `vr.VRLayer`s
the VR display can present at once (e.g. the maximum length of
array that `web.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