FPSCounterComponent Class
Definition
Section titled “Definition”A component to draw how many frames per second the engine is performing at.
public class FPSCounterComponent : DrawableGameComponent, IGameComponent, IUpdateable, IDisposable, IDrawableInheritance object → Microsoft.Xna.Framework.GameComponent → Microsoft.Xna.Framework.DrawableGameComponent
Implements Microsoft.Xna.Framework.IGameComponent, Microsoft.Xna.Framework.IUpdateable, IDisposable, Microsoft.Xna.Framework.IDrawable
Constructors
Section titled “Constructors”FPSCounterComponent(Game)
Section titled “FPSCounterComponent(Game)”public FPSCounterComponent(Game game)Parameters
Section titled “Parameters”game Microsoft.Xna.Framework.Game
Methods
Section titled “Methods”Update(GameTime)
Section titled “Update(GameTime)”public override void Update(GameTime gameTime)Parameters
Section titled “Parameters”gameTime Microsoft.Xna.Framework.GameTime
Draw(GameTime)
Section titled “Draw(GameTime)”public override void Draw(GameTime gameTime)Parameters
Section titled “Parameters”gameTime Microsoft.Xna.Framework.GameTime