XrCamera QML Type

The camera for an XrView. More...

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

Node

Status: Technical Preview

Properties

Signals

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.


Signal Documentation

clipFarChanged()

Emitted when the clipFar property changes.

Note: The corresponding handler is onClipFarChanged.


clipNearChanged()

Emitted when the clipNear property changes.

Note: The corresponding handler is onClipNearChanged.