C# Class TerrainDemo.Framework.Debug.FpsCounter

FPS を計測して画面に表示するクラスです。
Inheritance: Microsoft.Xna.Framework.DrawableGameComponent
Afficher le fichier Open project: willcraftia/TestXna Class Usage Examples

Méthodes publiques

Méthode Description
Draw ( GameTime gameTime ) : void
FpsCounter ( Microsoft.Xna.Framework.Game game ) : System

インスタンスを生成します。

Update ( GameTime gameTime ) : void

Méthodes protégées

Méthode Description
LoadContent ( ) : void
UnloadContent ( ) : void

Method Details

Draw() public méthode

public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void

FpsCounter() public méthode

インスタンスを生成します。
public FpsCounter ( Microsoft.Xna.Framework.Game game ) : System
game Microsoft.Xna.Framework.Game Game。
Résultat System

LoadContent() protected méthode

protected LoadContent ( ) : void
Résultat void

UnloadContent() protected méthode

protected UnloadContent ( ) : void
Résultat void

Update() public méthode

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void