XrCamera QML Type

Tracks spatial position and orientation from which the user views an XR scene. More...

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

Node

Status: Technical Preview

Properties

Detailed Description

The XrCamera is a tracked spatial node that tracks the spatial position and orientation of the users's view of an XR scene.

Since this is a tracked node, its spatial properties should be considered read-only. Properties specific to the XrCamera, such as the near and far clip planes, are settable. When set, they override preferred values.

See also XrOrigin::camera.

Property Documentation

clipFar : float

The end of the distance range, with reference to the camera position, in which objects will appear.

Note: Unless set explicitly, the clipFar value will be set to the device's preferred value.


clipNear : float

The start of the distance range, with reference to the camera position, in which objects will appear.

Note: Unless set explicitly, the clipNear value will be set to the device's preferred value.


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