XrController QML Type

A type enabling the use of different controller inputs. More...

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

Node

Status: Technical Preview

Properties

Signals

Detailed Description

Property Documentation

actionMapper : XrActionMapper

The action mapper associated with this controller.


controller : enumeration

Holds the controller.

It can be one of:

ConstantValue
XrController.ControllerNone
XrController.ControllerLeft
XrController.ControllerRight
XrController.ControllerGamepad

gamepadInput : XrGamepadInput

The gamepad input associated with this controller.


handInput : XrHandInput

The hand input associated with this controller.


Signal Documentation

actionMapperChanged()

Emitted when the actionMapper property changes.

Note: The corresponding handler is onActionMapperChanged.


controllerChanged()

Emitted when the controller property changes.

Note: The corresponding handler is onControllerChanged.


handInputChanged()

Emitted when the handInput property changes.

Note: The corresponding handler is onHandInputChanged.