Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
GestureEventDrag.cs
Go to the documentation of this file.
1 // Copyright (c) 2014 Silicon Studio Corp. (http://siliconstudio.co.jp)
2 // This file is distributed under GPL v3. See LICENSE.md for details.
3 
4 using System;
5 
6 using SiliconStudio.Core.Mathematics;
7 
8 namespace SiliconStudio.Paradox.Input
9 {
10  /// <summary>
11  /// Event class for the Drag gesture.
12  /// </summary>
14  {
15  internal GestureEventDrag(GestureState state, int numberOfFingers, TimeSpan deltaTime, TimeSpan totalTime,
16  GestureShape shape, Vector2 startPos, Vector2 currPos, Vector2 deltaTrans)
17  :base(GestureType.Drag, state, numberOfFingers, deltaTime,totalTime,shape,startPos,currPos,deltaTrans)
18  {
19  }
20  }
21 }
Represents a two dimensional mathematical vector.
Definition: Vector2.cs:42
GestureState
The different possible states of a gestures.
Definition: GestureState.cs:8
Event class for the Drag gesture.
GestureType
List all the available type of Gestures.
Definition: GestureType.cs:9
GestureShape
Gesture possible shapes.
Definition: GestureShape.cs:8