CarpMuffin.UserInterfaces.Controls.ScreenOverlay.Draw C# (CSharp) Method

Draw() public method

public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void
        public override void Draw(GameTime gameTime)
        {
            var viewport = Engine.Instance.Graphics.GraphicsDevice.Viewport;

            SpriteBatch.Draw(_whitePixel, new Rectangle(0, 0, viewport.Width, viewport.Height), Tint);
        }
ScreenOverlay