XrOrigin QML Type

XrView... 更多...

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

Node

Status: Technical Preview

属性

详细说明

原点决定了reference space 的中心位置。改变原点位置将把用户传送到场景中的不同位置。

大多数 XR 平台允许用户进行物理移动,从而改变视角。这不会改变原点的位置。要跟踪耳机的位置,请创建XrCamera 并将其分配给camera 属性。

警告: 确保在更改原点位置/旋转时遵循最佳实践。否则可能会导致身体不适、恶心或失去平衡。在最坏的情况下,可能导致受伤甚至死亡。

属性文档

camera : XrCamera [default: null]

用于添加跟踪摄像机节点的属性。

持有一个XrCamera ,它是一个跟踪空间节点,用于跟踪 XR 环境中头戴式显示器的位置和方向。

注: 此属性为可选属性。

另请参阅 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.