Interface IXRInputValueReader<TValue>
Interface which allows for callers to read the current value from an input source.
Namespace: UnityEngine.XR.Interaction.Toolkit.Inputs.Readers
Assembly: solution.dll
Syntax
public interface IXRInputValueReader<TValue> : IXRInputValueReader where TValue : struct
Type Parameters
| Name | Description |
|---|---|
| TValue |
Methods
| Name | Description |
|---|---|
| ReadValue() | Read the current value from the input source. |
| TryReadValue(out TValue) | Try to read the current value from the input source. |