5 using SiliconStudio.Core.Mathematics;
7 namespace SiliconStudio.
Paradox.Input
18 public Vector2 CenterBeginningPosition {
get;
internal set; }
24 public Vector2 CenterCurrentPosition {
get;
internal set; }
29 public float DeltaRotation {
get;
internal set; }
34 public float TotalRotation {
get;
internal set; }
39 public float DeltaScale {
get;
internal set; }
44 public float TotalScale {
get;
internal set; }
49 public Vector2 DeltaTranslation {
get;
internal set; }
54 public Vector2 TotalTranslation {
get;
internal set; }
59 Type = GestureType.Composite;
61 DeltaTime = deltaTime;
62 TotalTime = totalTime;
63 DeltaRotation = deltaAngle;
64 TotalRotation = totalAngle;
65 DeltaScale = deltaScale;
66 TotalScale = totalScale;
67 DeltaTranslation = currentCenter-lastCenter;
68 TotalTranslation = currentCenter-firstCenter;
69 CenterBeginningPosition = firstCenter;
70 CenterCurrentPosition = currentCenter;
Represents a two dimensional mathematical vector.