Class XRInputDeviceValueReader
An abstract base ScriptableObject that provides a value from a device from the XR input subsystem as defined by its characteristics and feature usage string. Intended to be used with an XRInputValueReader as its object reference or as part of an XRInputDeviceButtonReader. This class contains the common base fields of the typed value reader.
XRInputDeviceValueReader<TValue>
Inherited Members
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: UnityEngine.XR.Interaction.Toolkit.Inputs.Readers
Assembly: Unity.XR.Interaction.Toolkit.dll
Syntax
public abstract class XRInputDeviceValueReader : ScriptableObject
Properties
characteristics
Characteristics of the input device to read from. Controllers are either:
HeldInHand | TrackedDevice | Controller | Left or
HeldInHand | TrackedDevice | Controller | Right.
Declaration
public InputDeviceCharacteristics characteristics { get; set; }
Property Value
Type | Description |
---|---|
InputDeviceCharacteristics |
See Also
XRInputDeviceValueReader<TValue>
See Also
XRInputDeviceValueReader<TValue>