예제 #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);
        }
예제 #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);
        }