Class TouchPhaseControl
A control reading a TouchPhase value.
Inherited Members
Namespace: UnityEngine.InputSystem.Controls
Syntax
public class TouchPhaseControl : InputControl<TouchPhase>
Remarks
This is used mainly by Touchscreen to read phase.
Constructors
TouchPhaseControl()
Declaration
public TouchPhaseControl()
Methods
ReadUnprocessedValueFromState(Void*)
Declaration
public override TouchPhase ReadUnprocessedValueFromState(void *statePtr)
Parameters
Type | Name | Description |
---|---|---|
System.Void* | statePtr |
Returns
Type | Description |
---|---|
TouchPhase |
Overrides
UnityEngine.InputSystem.InputControl<UnityEngine.InputSystem.TouchPhase>.ReadUnprocessedValueFromState(System.Void*)
WriteValueIntoState(TouchPhase, Void*)
Declaration
public override void WriteValueIntoState(TouchPhase value, void *statePtr)
Parameters
Type | Name | Description |
---|---|---|
TouchPhase | value | |
System.Void* | statePtr |
Overrides
UnityEngine.InputSystem.InputControl<UnityEngine.InputSystem.TouchPhase>.WriteValueIntoState(UnityEngine.InputSystem.TouchPhase, System.Void*)
Extension Methods
InputControlExtensions.WriteValueIntoState<TValue, TState>(InputControl<TValue>, TValue, ref TState)