Interface IInputControlProcessor<TValue>
Namespace: UnityEngine.Experimental.Input
Syntax
public interface IInputControlProcessor<TValue>
where TValue : struct
Type Parameters
| Name | Description |
|---|---|
| TValue |
Methods
Process(TValue, InputControl)
Process the given value and return the result.
Declaration
TValue Process(TValue value, InputControl control)
Parameters
| Type | Name | Description |
|---|---|---|
| TValue | value | Input value to process. |
| InputControl | control | The control the value is processed for. Note that value is
not necessarily equal to |
Returns
| Type | Description |
|---|---|
| TValue | Processed input value. |
Remarks
The implementation of this method must not be stateful.