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
(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`
(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`
(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`
(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`
(max-layers this)
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
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`
(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`
(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`
(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`
(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`
(set-max-layers! this val)
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
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`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close