Ejemplo n.º 1
0
 public virtual void Add(Vector position, SkeletonEngine engine)
 {
     currentPosition = new InputData(position.ToVector3(), 0);
     LookForGesture();
 }
Ejemplo n.º 2
0
 protected void RaiseGestureDetected(int gesture)
 {
     if (DateTime.Now.Subtract(lastGestureDate).TotalMilliseconds > MinimalPeriodBetweenGestures)
     {
         gestureData = new InputData(currentPosition.point, gesture);
         lastGestureDate = DateTime.Now;
     }
 }