C# Class PSSMDemo.MainGame

Inheritance: Microsoft.Xna.Framework.Game
ファイルを表示 Open project: willcraftia/TestXna Class Usage Examples

Public Methods

Method Description
MainGame ( ) : System

Protected Methods

Method Description
Draw ( GameTime gameTime ) : void
LoadContent ( ) : void
Update ( GameTime gameTime ) : void

Private Methods

Method Description
CreateShadowMap ( ) : void
DrawModelWithShadowMap ( Model model ) : void
DrawOverlayText ( ) : void
DrawShadowCaster ( ShadowMapEffect effect, Model model ) : void
DrawShadowCasters ( Matrix eyeView, Matrix eyeProjection, ShadowMapEffect effect ) : void
DrawShadowMapToScreen ( ) : void
DrawWithShadowMap ( ) : void
HandleInput ( GameTime gameTime ) : void
UpdateCamera ( GameTime gameTime ) : void

Method Details

Draw() protected method

protected Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void

LoadContent() protected method

protected LoadContent ( ) : void
return void

MainGame() public method

public MainGame ( ) : System
return System

Update() protected method

protected Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void