在本页

XrCamera QML Type

跟踪用户查看 XR 场景的空间位置和方向。更多

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

Node

属性

详细说明

XrCamera 是一个跟踪空间节点,用于跟踪 XR 场景中用户视图的空间位置和方向。

由于这是一个跟踪节点,其空间属性应被视为只读属性。XrCamera 的特定属性(如nearfar 剪辑平面)是可设置的。设置后,它们将覆盖首选值。

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