XrSimpleHapticEffect QML Type
允许使用振幅、持续时间和频率设置控制器触觉。更多
Import Statement: | import QtQuick3D.Xr |
Since: | Qt 6.9 |
Inherits: | |
Status: | Technical Preview |
属性
- amplitude() : bool
- duration() : bool
- frequency() : bool
详细说明
XrSimpleHapticEffect { amplitude: 0.5 duration: 300 frequency: 3000 }
另请参见 XrHapticFeedback 。
属性文档
amplitude() : bool |
定义效果振动的振幅。可接受的值范围为 0.0 至 1.0。
duration() : bool |
以毫秒为单位定义触觉效果的持续时间。
frequency() : bool |
以赫兹为单位定义触觉效果的频率
© 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.