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

x/threejs_4_deno/src/Three.d.ts>XRFrame

A simple transformation of three.js for use within a Deno workflow
Go to Latest
interface XRFrame
Re-export
import { type XRFrame } from "https://deno.land/x/threejs_4_deno@v121/src/Three.d.ts";

Properties

readonly
session: XRSession
optional
trackedAnchors: XRAnchorSet
worldInformation: { detectedPlanes?: XRPlaneSet; }

Methods

getViewerPose(referenceSpace: XRReferenceSpace): XRViewerPose | undefined
getPose(space: XRSpace, baseSpace: XRSpace): XRPose | undefined
getHitTestResults(hitTestSource: XRHitTestSource): Array<XRHitTestResult>
getHitTestResultsForTransientInput(hitTestSource: XRTransientInputHitTestSource): Array<XRTransientInputHitTestResult>
createAnchor(pose: XRRigidTransform, space: XRSpace): Promise<XRAnchor>
getJointPose(joint: XRJointSpace, baseSpace: XRSpace): XRJointPose