Constructor PanGesture
PanGesture(Vector2, Vector2, TouchPhase)
Constructor.
Declaration
public PanGesture(Vector2 position, Vector2 deltaPos, TouchPhase phase)
Parameters
Type | Name | Description |
---|---|---|
Vector2 | position | The position of the touch in normalized coordinates. |
Vector2 | deltaPos | The delta position of the touch since the last frame. |
TouchPhase | phase | The phase of the gesture. |