Results 1 - 18 of 18

VRDisplay.cancelAnimationFrame()

The cancelAnimationFrame() method of the VRDisplay interface is a special implementation of Window.cancelAnimationFrame that unregisters callbacks registered with VRDisplay.requestAnimationFrame().
API cancelAnimationFrame() Experimental Method Reference Virtual Reality VR VRDisplay WebVR

VRDisplay.capabilities

The capabilities read-only property of the VRDisplay interface returns a VRDisplayCapabilities object that indicates the various capabilities of the VRDisplay.
API capabilities Experimental Property Reference Virtual Reality VR VRDisplay WebVR

VRDisplay.depthFar

The depthFar property of the VRDisplay interface gets and sets the z-depth defining the far plane of the eye view frustum, i.e. the furthest viewable boundary of the scene.
API depthFar Experimental Property Reference Virtual Reality VR VRDisplay WebVR

VRDisplay.depthNear

The depthNear property of the VRDisplay interface gets and sets the z-depth defining the near plane of the eye view frustum, i.e. the nearest viewable boundary of the scene.
API depthNear Experimental Property Reference Virtual Reality VR VRDisplay WebVR

VRDisplay.exitPresent()

The exitPresent() method of the VRDisplay interface stops the VRDisplay presenting a scene.
API exitPresent() Experimental Method Reference Virtual Reality VR VRDisplay WebVR

VRDisplay.getEyeParameters()

The getEyeParameters() method of the VRDisplay interface returns the VREyeParameters object containing the eye parameters for the specified eye.
API Experimental getEyeParameters() Method Reference Virtual Reality VR VRDisplay WebVR

VRDisplay.getImmediatePose()

The getImmediatePose() method of the VRDisplay interface returns a VRPose object defining the current pose of the VRDisplay, with no prediction applied.
API Experimental getImmediatePose() Method Reference Virtual Reality VR VRDisplay WebVR

VRDisplay.getLayers()

The getLayers() method of the VRDisplay interface returns the layers currently being presented by the VRDisplay.
API Experimental getLayers() Method Reference Virtual Reality VR VRDisplay WebVR

VRDisplay.getPose()

The getPose() method of the VRDisplay interface returns a VRPose object defining the future predicted pose of the VRDisplay as it will be when the current frame is actually presented.
API Experimental getPose() Method Reference Virtual Reality VR VRDisplay WebVR

VRdisplay.isConnected

The isConnected read-only property of the VRDisplay interface returns a Boolean indicating whether the VRDisplay is connected to the computer.
API Experimental isConnected Property Reference Virtual Reality VR VRDisplay WebVR

VRDisplay.isPresenting

The isPresenting read-only property of the VRDisplay interface returns a Boolean indicating whether the VRDisplay is currently having content presented through it.
API Experimental isPresenting Property Reference Virtual Reality VR VRDisplay WebVR

VRDisplay.requestAnimationFrame()

The requestAnimationFrame() method of the VRDisplay interface is a special implementation of Window.requestAnimationFrame containing a callback function that will be called every time a new frame of the VRDisplay presentation is rendered:
API Experimental Method Reference requestAnimationFrame() Virtual Reality VR VRDisplay WebVR

VRDisplay.requestPresent()

The requestPresent() method of the VRDisplay interface starts the VRDisplay presenting a scene.
API Experimental Method Reference requestPresent() Virtual Display VR VRDisplay WebVR

VRDisplay.stageParameters

The stageParameters read-only property of the VRDisplay interface returns a VRStageParameters object containing room-scale parameters, if the VRDisplay is capable of supporting room-scale experiences.
API Experimental Property Reference stageParameters Virtual Reality VR VRDisplay WebVR

VRDisplay.submitFrame()

The submitFrame() method of the VRDisplay interface captures the current state of the VRLayer currently being presented and displays it on the VRDisplay.
API Experimental Method Reference submitFrame() Virtual Reality VR VRDisplay WebVR

VRDisplay

The VRDisplay interface of the WebVR API represents any VR device supported by this API. It includes generic information such as device IDs and descriptions, as well as methods for starting to present a VR scene, retrieving eye parameters and display capabilities, and other important functionality.
API DOM Experimental Expérimental Interface Media Reference Référence Virtual Reality VR VRDisplay WebVR

VRDisplay.displayId

The displayId read-only property of the VRDisplay interface returns an identifier for this particular VRDisplay, which is also used as an association point in the Gamepad API (see Gamepad.displayId).
API displayId Experimental Expérimental Property Reference Référence Virtual Reality VR VRDisplay WebVR

VRDisplay.displayName

The displayName read-only property of the VRDisplay interface returns a human-readable name to identify the VRDisplay.
API displayName Experimental Expérimental Property Reference Référence Virtual Reality VR VRDisplay WebVR