Beispiel #1
0
        protected override void Draw(GameTime gameTime)
        {
            // Clears the screen with the Color.CornflowerBlue
            GraphicsDevice.Clear(Color.SkyBlue);

            model.Draw(gameTime);

            // Handle base.Draw
            base.Draw(gameTime);
        }
Beispiel #2
0
        protected override void Draw(GameTime gameTime)
        {
            // Clears the screen with the Color.CornflowerBlue
            GraphicsDevice.Clear(Color.SkyBlue);
            GraphicsDevice.SetBlendState(GraphicsDevice.BlendStates.AlphaBlend);

            model.Draw(gameTime);
            sun.Draw(gameTime);

            // Handle base.Draw
            base.Draw(gameTime);
        }