Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/evt/mod.ts>dom.VRDisplayCapabilities

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.VRDisplayCapabilities
import { type dom } from "https://deno.land/x/evt@v2.4.8/mod.ts";
const { VRDisplayCapabilities } = dom;

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

Properties

readonly
canPresent: boolean
readonly
hasExternalDisplay: boolean
readonly
hasOrientation: boolean
readonly
hasPosition: boolean
readonly
maxLayers: number