public virtual void PointerMoved(Vector2 position, GameTime gameTime) { bool res = UIWindowManager.PointerMoved(position, gameTime); if (res == false) { // Event was not handled by UI if (isMouseCaptured) { res = CurrentController?.PointerMoved(position) ?? false; if (res == false) { CurrentCamera?.PointerMoved(position); } Mouse.SetPosition((int)lastMousePos.X, (int)lastMousePos.Y); } } }
internal override void PointerMoved(Vector2 position) { UIWindowManager.PointerMoved(position); }
internal override void PointerMoved(Microsoft.Xna.Framework.Vector2 position) { UIWindowManager.PointerMoved(position); }