Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
OpenXRHapticVibration
继承: OpenXRHapticBase < Resource < RefCounted < Object
振动触觉反馈。
描述
该触觉反馈资源能够定义基于振动的触觉反馈脉冲,该脉冲可以通过 OpenXR 动作映射中的动作触发。
属性
|
||
|
||
|
属性说明
脉冲的幅度,在 0.0
和 1.0
之间。
脉冲的持续时间,单位为纳秒。使用 -1
表示当前 XR 运行时的最小持续时间脉冲。
脉冲的频率,单位为赫兹。0.0
会让 XR 运行时为所使用的设备选择最佳频率。