Namespace UnityEngine.XR.Interaction.Toolkit.Inputs.Readers
Classes
InputFeatureUsageString<T>
Serializable class that wraps a string usage name for use with Input
XRInputButtonReader
Serializable typed input button reader that can read the current button's state from an input source. Behaviors can declare a field of this type to allow them to read input from an input action or any other source.
XRInputDeviceBoolValueReader
A Scriptable
XRInputDeviceButtonReader
An adapter component that provides a bool and float value from a device
from the XR input subsystem as defined by its characteristics and feature usage string.
Intended to be used with an XRInput
XRInputDeviceFloatValueReader
A Scriptable
XRInputDeviceInputTrackingStateValueReader
A Scriptable
XRInputDeviceQuaternionValueReader
A Scriptable
XRInputDeviceValueReader
An abstract base Scriptable
XRInputDeviceValueReader<TValue>
A Scriptable
XRInputDeviceVector2ValueReader
A Scriptable
XRInputDeviceVector3ValueReader
A Scriptable
XRInputReaderUtility
Utility class that provides useful methods for behaviors that use input readers.
XRInputValueReader
Base abstract class for a serializable input value reader without typed code.
XRInputValueReader<TValue>
Serializable typed input value reader that can read the current value from an input source. Behaviors can declare a field of this type to allow them to read input from an input action or any other source.
Interfaces
IXRInputButtonReader
Interface which allows for callers to read the button's state from an input source.
IXRInputValueReader
Base interface for all input value readers.
IXRInputValueReader<TValue>
Interface which allows for callers to read the current value from an input source.
Enums
XRInputButtonReader.InputSourceMode
The mode that determines from which input source the button's state is read from.
XRInputValueReader.InputSourceMode
The mode that determines from which input source the value is read from.