Nesta página

XrSimpleHapticEffect QML Type

Permite configurar o feedback tátil do controlador usando amplitude, duração e frequência. Mais...

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

XrHapticEffect

Status: Technology preview

Este tipo está em pré-visualização tecnológica e está sujeito a alterações.

Propriedades

Descrição detalhada

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

Veja também XrHapticFeedback.

Documentação da propriedade

amplitude : bool [default: 0.5]

Define a amplitude da vibração do efeito. Os valores aceitáveis variam de 0,0 a 1,0

duration : bool [default: 30]

Define a duração do efeito tátil em milissegundos.

frequency : bool [default: 3000]

Define a frequência do efeito tátil em 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.