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
Vibration haptic feedback.
說明
This haptic feedback resource makes it possible to define a vibration based haptic feedback pulse that can be triggered through actions in the OpenXR action map.
屬性
|
||
|
||
|
屬性說明
The amplitude of the pulse between 0.0 and 1.0.
The duration of the pulse in nanoseconds. Use -1 for a minimum duration pulse for the current XR runtime.
The frequency of the pulse in Hz. 0.0 will let the XR runtime chose an optimal frequency for the device used.