本页内容

XrCamera QML Type

用于追踪用户观看XR场景时的空间位置和方向。更多内容...

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

Node

Status: Technology preview

此类型处于技术预览阶段,可能会有变动。

属性

详细说明

XrCamera 是一个带追踪功能的空间节点,用于追踪用户在 XR 场景中的视角空间位置和方向。

由于这是一个带追踪功能的节点,其空间属性应视为只读。XrCamera 特有的属性(如near 和far 裁剪平面)可进行设置。一旦设置,这些属性将覆盖默认值。

另请参阅 XrOrigin::camera 。

属性文档

clipFar : real

以相机位置为基准,物体将出现在该距离范围的末端。

注意:除非 显式设置,否则 clipFar 的值将设置为设备的推荐值。

clipNear : real

以摄像机位置为基准,物体将出现在该距离范围的起始点。

注意:除非 显式设置,否则 clipNear 的值将设置为设备的默认值。

© 2026 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.