XrOrigin QML Type
Import Statement: | import QtQuick3D.Xr |
Since: | Qt 6.8 |
Inherits: | |
Status: | Technical Preview |
属性
- camera : XrCamera
详细说明
原点决定了reference space 的中心位置。改变原点位置将把用户传送到场景中的不同位置。
大多数 XR 平台允许用户进行物理移动,从而改变视角。这不会改变原点的位置。要跟踪耳机的位置,请创建XrCamera 并将其分配给camera 属性。
警告: 确保在更改原点位置/旋转时遵循最佳实践。否则可能会导致身体不适、恶心或失去平衡。在最坏的情况下,可能导致受伤甚至死亡。
属性文档
camera : XrCamera |
© 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.