Allows setting controller haptics using amplitude, duration and frequency. 更多...
| import 语句: |
import QtQuick3D.Xr
|
| Since: | Qt 6.9 |
| 继承: | |
| 状态: | 技术预览 |
XrSimpleHapticEffect { amplitude: 0.5 duration: 300 frequency: 3000 }
另请参阅 XrHapticFeedback .
|
amplitude()
:
bool
|
Defines the amplitude of the effect's vibration. Acceptable values are from 0.0 to 1.0
|
duration()
:
bool
|
Defines the duration of the haptic effect in milliseconds.
|
frequency()
:
bool
|
Defines the frequency of the haptic effect in Hz