Class reference

OpenXRAnalogThresholdModifier

Inherits OpenXRActionBindingModifier

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

OpenXRHapticBase off_haptic

Haptic pulse to emit when the user releases the input.

float off_threshold = 0.4

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

float on_threshold = 0.6

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.

Source revision 4f5b14abade2
Connection interrupted. Reload×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.