UNPKG

@polygonjs/polygonjs

Version:

node-based WebGL 3D engine https://polygonjs.com

19 lines (18 loc) 562 B
/// <reference types="webxr" /> import { CoreWebXRControllerOptions } from '../Common'; export declare enum WebXRARFeature { HIT_TEST = "hit-test", LIGHT_ESTIMATION = "light-estimation" } export declare const WEBXR_AR_FEATURES: WebXRARFeature[]; export interface CoreWebXRARControllerOptions extends CoreWebXRControllerOptions { optionalFeatures: WebXRARFeature[]; requiredFeatures: WebXRARFeature[]; } export interface XRCamera { width: number; height: number; } export interface ExtentedXRView extends XRView { camera?: XRCamera; }