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: solution.dll
Syntax
public abstract class XRInputDeviceValueReader : ScriptableObject
Properties
| Name | Description |
|---|---|
| characteristics | Characteristics of the input device to read from. Controllers are either: HeldInHand | TrackedDevice | Controller | Left or HeldInHand | TrackedDevice | Controller | Right. |
See Also
XRInputDeviceValueReader<TValue>