AbstractOptionalcreateOptional ReadonlydetectedXRFrame is extended to contain detectedMeshes attribute which contains all meshes that are still tracked in the frame.
The set is initially empty and will be populated by the update meshes algorithm. If this attribute is accessed when the frame is not active, the user agent MUST throw InvalidStateError.
Optional ReadonlydetectedXRFrame is extended to contain detectedPlanes attribute which contains all planes that are still tracked in the frame.
The set is initially empty and will be populated by the update planes algorithm. If this attribute is accessed when the frame is not active, the user agent MUST throw InvalidStateError.
OptionalgetReadonlypredictedReadonlysessionOptional ReadonlytrackedAll anchors tracked in the frame.
At XRFrame creation, the set is initially empty and will be populated by the update anchors algorithm.
Provides the pose of the viewer relative to referenceSpace as an XRViewerPose, at the XRFrame's time.
Creates a new anchor using the given pose in the given reference space.
By creating an anchor from frame, the created anchor will not be attached to any particular real world object.
If the frame is not active, the promise will be rejected with a InvalidStateError.