MonoGameUi.Control.InternalTouchMove C# (CSharp) Method

InternalTouchMove() private method

private InternalTouchMove ( TouchEventArgs args ) : void
args TouchEventArgs
return void
        internal void InternalTouchMove(TouchEventArgs args)
        {
            // Children first (Order by Z-Order)
            foreach (var child in Children.InZOrder())
            {
                args.LocalPosition = CalculateLocalPosition(args.GlobalPosition, child);
                child.InternalTouchMove(args);
                if (args.Handled) break;
            }

            // Lokales Events
            if (!args.Handled)
            {
                args.LocalPosition = CalculateLocalPosition(args.GlobalPosition, this);
                OnTouchMove(args);
                if (TouchMove != null)
                    TouchMove(this, args);
            }
        }