Attention: Here be dragons (unstable version)
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Redot.
Checking the stable version of the documentation...
OpenXRAnalogThresholdModifier
Inherits: OpenXRActionBindingModifier < OpenXRBindingModifier < Resource < RefCounted < Object
The analog threshold binding modifier can modify a float input to a boolean input with specified thresholds.
Description
The analog threshold binding modifier can modify a float input to a boolean input with specified thresholds.
See XR_VALVE_analog_threshold for in-depth details.
Properties
|
||
|
Property Descriptions
OpenXRHapticBase off_haptic 🔗
void set_off_haptic(value: OpenXRHapticBase)
OpenXRHapticBase get_off_haptic()
Haptic pulse to emit when the user releases the input.
When our input value falls below this, our output becomes false.
OpenXRHapticBase on_haptic 🔗
void set_on_haptic(value: OpenXRHapticBase)
OpenXRHapticBase get_on_haptic()
Haptic pulse to emit when the user presses the input.
When our input value is equal or larger than this value, our output becomes true. It stays true until it falls under the off_threshold value.