UNPKG

@threlte/xr

Version:

Tools to more easily create VR and AR experiences with Threlte

12 lines (11 loc) 403 B
import type { WebXRManager } from 'three'; import { type CurrentReadable } from './currentReadable.svelte.js'; /** * Provides access to context related to `<XR />`. */ export declare const useXR: () => { isPresenting: CurrentReadable<boolean>; isHandTracking: CurrentReadable<boolean>; session: CurrentReadable<XRSession | undefined>; xr: CurrentReadable<WebXRManager | undefined>; };