XrSpatialAnchorListModel QML Type
提供包含空间锚点的模型。更多
| Import Statement: | import QtQuick3D.Xr |
| Since: | Qt 6.8 |
| Inherits: | |
| Status: | Technical Preview |
详细说明
该类型提供了空间锚点列表,空间锚点是物理世界中可被跟踪并与虚拟内容关联的点。
该列表包含具有anchor 属性的元素,其类型为XrSpatialAnchor 。
您可以这样使用它:
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.