Interface XRFrame

Hierarchy

  • XRFrame

Properties

createAnchor?: ((pose, space) => Promise<XRAnchor>)

Type declaration

getJointPose?: ((joint, baseSpace) => XRJointPose)

Type declaration

predictedDisplayTime: number
session: XRSession
trackedAnchors?: XRAnchorSet
worldInformation?: {
    detectedPlanes?: XRPlaneSet;
}

Type declaration

Methods

  • Provides the pose of space relative to baseSpace as an XRPose, at the time represented by the XRFrame.

    Parameters

    Returns XRPose

  • Provides the pose of the viewer relative to referenceSpace as an XRViewerPose, at the XRFrame's time.

    Parameters

    Returns XRViewerPose