XrSimpleHapticEffect QML Type

振幅、持続時間、周波数を使用してコントローラのハプティクスを設定できます。詳細...

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

XrHapticEffect

Status: Technical Preview

プロパティ

詳細説明

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

XrHapticFeedbackも参照してください

プロパティの説明

amplitude() : bool [default: 0.5]

エフェクトの振動の振幅を定義します。使用可能な値は0.0から1.0です。


duration() : bool [default: 30]

ハプティック効果の持続時間をミリ秒単位で定義します。


frequency() : bool [default: 3000]

ハプティック効果の周波数をHzで定義します。


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