Auf dieser Seite

XrSimpleHapticEffect QML Type

Ermöglicht die Einstellung der Haptik des Controllers anhand von Amplitude, Dauer und Frequenz. Mehr...

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

XrHapticEffect

Status: Technology preview

Dieser Typ befindet sich in der Technology Preview und kann sich noch ändern.

Eigenschaften

Ausführliche Beschreibung

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

Siehe auch XrHapticFeedback.

Dokumentation zu den Eigenschaften

amplitude : bool [default: 0.5]

Legt die Amplitude der Schwingung des Effekts fest. Zulässige Werte liegen zwischen 0,0 und 1,0.

duration : bool [default: 30]

Legt die Dauer des haptischen Effekts in Millisekunden fest.

frequency : bool [default: 3000]

Legt die Frequenz des haptischen Effekts in Hz fest

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