UNPKG

@threlte/xr

Version:

Tools to more easily create VR and AR experiences with Threlte

13 lines (12 loc) 343 B
import type { CurrentWritable } from '@threlte/core'; /** * Provides access to context related to `<XR />`. */ export declare const useXR: () => { isPresenting: CurrentWritable<boolean>; isHandTracking: CurrentWritable<boolean>; session: CurrentWritable<XRSession | undefined>; xrFrame: { current: XRFrame; }; };