Example #1
0
        private TouchPoint CreateTouchPoint(TuioCursor cursor)
        {
            TouchPoint tp = new TouchPoint
            {
                StartPoint   = cursor.getPath().First().ToPoint(GestureManager),
                StartTimeMS  = cursor.getStartTime().getTotalMilliseconds(),
                CurrentPoint = cursor.getPath().First().ToPoint(GestureManager),
                SessionID    = cursor.getSessionID()
            };

            return(UpdateTouchPoint(tp, cursor));
        }