CCT.NUI.Touch.KinectMultiTouchDevice.handDataSource_NewDataAvailable C# (CSharp) 메소드

handDataSource_NewDataAvailable() 개인적인 메소드

private handDataSource_NewDataAvailable ( HandCollection data ) : void
data CCT.NUI.HandTracking.HandCollection
리턴 void
        private void handDataSource_NewDataAvailable(HandCollection data)
        {
            if (data.IsEmpty) 
            {
                ReportNoTouch(this.touchDevices.Values);
                return;
            }

            var touchedDevices = this.ReportTouches(data);
            this.ReportNoTouch(this.touchDevices.Values.Except(touchedDevices));
        }