XrSpatialAnchorListModel QML Type

Stellt ein Modell mit räumlichen Ankern bereit. Mehr...

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

ListModel

Status: Technical Preview

Detaillierte Beschreibung

Dieser Typ stellt eine Liste von räumlichen Ankern bereit, die Punkte in der physischen Welt sind, die verfolgt und mit virtuellen Inhalten verknüpft werden können.

Die Liste enthält Elemente, die eine anchor Eigenschaft mit dem Typ XrSpatialAnchor haben.

Sie können ihn wie folgt verwenden:

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

© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.