XrHandModel QML Type
Represents a 3D model for a hand. More...
Import Statement: | import QtQuick3D.Xr |
Since: | Qt 6.8 |
Inherits: | |
Status: | Technical Preview |
Properties
- hand : enumeration
Detailed Description
Contains an animated 3D model that tracks the user's hands
XrHandModel is only visible when hand tracking is active.
Note: XrHandModel depends on hand tracking data from the underlying system and is therefore not available on all platforms. In particular, the Apple Vision Pro will overlay video of the user's hands directly, and the XrHandModel will not have any content.
Property Documentation
hand : enumeration |
Specifies which hand the model is showing
Constant | Description |
---|---|
XrHandModel.LeftHand | The left hand. |
XrHandModel.RightHand | The right hand. |
XrHandModel.Unknown | No hand is shown. |
The value of this property is compatible with XrController.controller.
Warning: This property must be set when the XrHandModel is constructed. Changing hands later is not currently supported.