In questa pagina

XrSimpleHapticEffect QML Type

Consente di configurare le vibrazioni del controller utilizzando ampiezza, durata e frequenza. Altro...

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

XrHapticEffect

Status: Technology preview

Questo tipo è in anteprima tecnologica ed è soggetto a modifiche.

Proprietà

Descrizione dettagliata

XrSimpleHapticEffect {
    amplitude: 0.5
    duration: 300
    frequency: 3000
}

Vedi anche XrHapticFeedback.

Documentazione sulle proprietà

amplitude : bool [default: 0.5]

Definisce l'ampiezza della vibrazione dell'effetto. I valori ammessi vanno da 0,0 a 1,0

duration : bool [default: 30]

Definisce la durata dell'effetto tattile in millisecondi.

frequency : bool [default: 3000]

Definisce la frequenza dell'effetto tattile in Hz

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