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