XrCamera QML Type

The camera for an XrView. 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 position and orientation of the Head Mounted Display in the XR environment.

Since this is a tracked node the spatial properties of the node should be considered read-only. Properties specific to the XrCamera, such as the near and far clip planes, are settable and when set overrides the devices own 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.