Results 1 - 6 of 6

VRDisplayCapabilities

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

VRDisplayCapabilities.canPresent

The canPresent read-only property of the VRDisplayCapabilities interface returns a Boolean stating whether the VR display is capable of presenting content (e.g. through an HMD).
API canPresent Experimental Property Reference Virtual Reality VR VRDisplayCapabilities WebVR

VRDisplayCapabilities.hasExternalDisplay

The hasExternalDisplay read-only property of the VRDisplayCapabilities interface returns a Boolean stating whether the VR display is separate from the device's primary display.
API Experimental hasExternalDisplay Property Reference Virtual Reality VR VRDisplayCapabilities WebVR

VRDisplayCapabilities.hasOrientation

The hasOrientation read-only property of the VRDisplayCapabilities interface returns a Boolean stating whether the VR display can track and return orientation information.
API Experimental hasOrientation Property Reference Virtual Reality VR VRDisplayCapabilities WebVR

VRDisplayCapabilities.hasPosition

The hasPosition read-only property of the VRDisplayCapabilities interface returns a Boolean stating whether the VR display can track and return position information.
API Experimental hasPosition Property Reference Virtual Reality VR VRDisplayCapabilities WebVR

VRDisplayCapabilities.maxLayers

The maxLayers read-only property of the VRDisplayCapabilities interface returns a number indicating the maximum number of VRLayers that the VR display can present at once (e.g. the maximum length of the array that Display.requestPresent() can accept.)
API Experimental maxLayers Property Reference Virtual Reality VR VRDisplayCapabilities WebVR