FSO.LotView.World3D.PreDraw C# (CSharp) Method

PreDraw() public method

public PreDraw ( Microsoft.Xna.Framework.Graphics.GraphicsDevice gd, FSO.LotView.WorldState state ) : void
gd Microsoft.Xna.Framework.Graphics.GraphicsDevice
state FSO.LotView.WorldState
return void
        public void PreDraw(GraphicsDevice gd, WorldState state)
        {
        }

Usage Example

Ejemplo n.º 1
0
        /// <summary>
        /// Pre-Draw
        /// </summary>
        /// <param name="device"></param>
        public override void PreDraw(GraphicsDevice device)
        {
            base.PreDraw(device);
            if (HasInit == false)
            {
                return;
            }

            //For all the tiles in the dirty list, re-render them
            State._2D.Begin(this.State.Camera);
            _2DWorld.PreDraw(device, State);
            State._2D.End();

            State._3D.Begin(device);
            _3DWorld.PreDraw(device, State);
            State._3D.End();
        }
All Usage Examples Of FSO.LotView.World3D::PreDraw