XrOrigin QML Type

The origin location for the XrView. More...

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

Node

Status: Technical Preview

Properties

Detailed Description

The origin determines the center of the reference space. Changing the position of the origin will transport the user to a different position in the scene.

Most XR platforms allow the user to move physically, changing the view point. This does not change the position of the origin. To track the position of the headset, create an XrCamera and assign it to the camera property.

Warning: Be careful to follow best practices when changing the position/rotation of the origin. Not doing so may cause physical discomfort, nausea, or loss of balance. In the worst case, this could lead to injury or even death.

Property Documentation

camera : XrCamera

Property for adding a tracked camera node.

XrCamera is a tracked spatial node that tracks the position and orientation of the Head Mounted Display in the XR environment.

Note: This property is optional and by default null.

See also XrCamera.


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