Class TouchPhaseControl
A control reading a Touch
Inherited Members
Namespace: UnityEngine .InputSystem .Controls
Assembly: Unity.InputSystem.dll
Syntax
public class TouchPhaseControl : InputControl<TouchPhase>
Remarks
This is used mainly by Touchscreen to read phase.
Constructors
TouchPhaseControl()
Default-initialize the control.
Declaration
public TouchPhaseControl()
Remarks
Format of the control is Format
See Also
Methods
ReadUnprocessedValueFromState(void*)
Declaration
public override TouchPhase ReadUnprocessedValueFromState(void* statePtr)
Parameters
Type | Name | Description |
---|---|---|
void* | statePtr |
Returns
Type | Description |
---|---|
Touch |
Overrides
See Also
WriteValueIntoState(TouchPhase, void*)
Declaration
public override void WriteValueIntoState(TouchPhase value, void* statePtr)
Parameters
Type | Name | Description |
---|---|---|
Touch |
value | |
void* | statePtr |