Table of Contents

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

OpenXRHapticBase

Remarks

off_threshold

When our input value falls below this, our output becomes false.

var off_threshold : float = 0.4

Property Value

float

Remarks

  • void set_off_threshold(float value)
  • float get_off_threshold

on_haptic

Haptic pulse to emit when the user presses the input.

var on_haptic : OpenXRHapticBase

Property Value

OpenXRHapticBase

Remarks

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

Property Value

float

Remarks

  • void set_on_threshold(float value)
  • float get_on_threshold