Class XRFrame Abstract
Hierarchy
- XRFrame
Implements
Implemented by
Index
Constructors
constructor
Returns XRFrame
Properties
Optional detected PlanesSearch playground for detectedPlanes
Optional feature Point CloudSearch playground for featurePointCloud
Optional Readonly predicted Display TimeSearch playground for predictedDisplayTime
Readonly sessionSearch playground for session
Optional tracked AnchorsSearch playground for trackedAnchors
Optional world InformationSearch playground for worldInformation
Methods
Optional create AnchorSearch playground for createAnchor
Parameters
pose: XRRigidTransform
space: XRSpace
Returns undefined | Promise<XRAnchor>
Optional fill Joint RadiiSearch playground for fillJointRadii
Parameters
jointSpaces: XRJointSpace[]
radii: Float32Array
Returns boolean
Optional fill PosesSearch playground for fillPoses
get Hit Test ResultsSearch playground for getHitTestResults
Parameters
hitTestSource: XRHitTestSource
Returns XRHitTestResult[]
get Hit Test Results For Transient InputSearch playground for getHitTestResultsForTransientInput
Parameters
hitTestSource: XRTransientInputHitTestSource
Returns XRTransientInputHitTestResult[]
Optional get Image Tracking ResultsSearch playground for getImageTrackingResults
Returns XRImageTrackingResult[]
Optional get Joint PoseSearch playground for getJointPose
Parameters
joint: XRJointSpace
baseSpace: XRSpace
Returns undefined | XRJointPose
get Light EstimateSearch playground for getLightEstimate
Parameters
xrLightProbe: XRLightProbe
Returns XRLightEstimate
get PoseSearch playground for getPose
get Viewer PoseSearch playground for getViewerPose
Provides the pose of the viewer relative to referenceSpace as an XRViewerPose, at the XRFrame's time.
Parameters
referenceSpace: XRReferenceSpace
Returns undefined | XRViewerPose
Provides the pose of space relative to baseSpace as an XRPose, at the time represented by the XRFrame.