CCT.NUI.HandTracking.Mouse.HandClickMode.Process C# (CSharp) Метод

Process() публичный Метод

public Process ( HandCollection handData ) : void
handData HandCollection
Результат void
        public override void Process(HandCollection handData)
        {
            var fingerCount = handData.Hands[0].FingerCount;

            if (fingerCount <= 1 && !this.mouseDown)
            {
                UserInput.MouseDown();
                this.mouseDown = true;
            }

            if (fingerCount >= 2 && this.mouseDown)
            {
                UserInput.MouseUp();
                this.mouseDown = false;
            }
        }
HandClickMode