XrSpatialAnchorListModel QML Type

Provides a model containing spatial anchors. More...

Import Statement: import QtQuick3D.Xr
Since: Qt 6.8
Inherits:

ListModel

Status: Technical Preview

Detailed Description

This type provides a list of spatial anchors, which are points in the physical world that can be tracked and associated with virtual content.

The list contains elements that have an anchor property with the type XrSpatialAnchor.

You can use it like this:

 Repeater3D {
     model: XrSpatialAnchorListModel {
     }
     delegate: Node {
         required property XrSpatialAnchor anchor
         position: anchor.position
         rotation: anchor.rotation
         // Further use of anchor properties...
     }
 }