Enum XRInputValueReader.InputSourceMode
The mode that determines from which input source the value is read from.
Namespace: UnityEngine.XR.Interaction.Toolkit.Inputs.Readers
Assembly: Unity.XR.Interaction.Toolkit.dll
Syntax
public enum XRInputValueReader.InputSourceMode
Fields
| Name | Description |
|---|---|
| InputAction | The input is read from an input action defined and serialized with this behavior. |
| InputActionReference | The input is read from an input action defined in the project. This is the default mode. |
| ManualValue | The input is returned from manually set values, either in the Inspector window or at runtime through scripting. |
| ObjectReference | The input is read from an object reference that implements IXRInputValueReader<TValue>. |
| Unused | The input is explicitly not used. Set to this mode to avoid any performance cost when the input should be ignored. |