Class OpenXRAnalogThresholdModifier
The analog threshold binding modifier can modify a float input to a boolean input with specified thresholds.
- Inheritance
-
OpenXRAnalogThresholdModifier
Remarks
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
off_haptic
Haptic pulse to emit when the user releases the input.
var off_haptic : OpenXRHapticBase
Property Value
Remarks
- void set_off_haptic(OpenXRHapticBase value)
- OpenXRHapticBase get_off_haptic
off_threshold
When our input value falls below this, our output becomes false.
var off_threshold : float = 0.4
Property Value
Remarks
on_haptic
Haptic pulse to emit when the user presses the input.
var on_haptic : OpenXRHapticBase
Property Value
Remarks
- void set_on_haptic(OpenXRHapticBase value)
- OpenXRHapticBase get_on_haptic
on_threshold
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.
var on_threshold : float = 0.6