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