C# 클래스 WarTornLands.DEBUG.CuteFrametimeCounterComponent

This is a game component that implements IUpdateable.
상속: Microsoft.Xna.Framework.DrawableGameComponent
파일 보기 프로젝트 열기: floAr/WarTornLands

공개 프로퍼티들

프로퍼티 타입 설명
FrametimeDangerDisplayColor Color
FrametimeDisplayColor Color
FrametimeDisplayPosition Vector2
ShowAveragedFrametime bool

공개 메소드들

메소드 설명
CuteFrametimeCounterComponent ( Microsoft.Xna.Framework.Game game, bool showFrametimeText, bool showIcons ) : System
Draw ( GameTime gameTime ) : void
Initialize ( ) : void

Allows the game component to perform any initialization it needs to before starting to run. This is where it can query for any required services and load content.

Update ( GameTime gameTime ) : void

Allows the game component to update itself.

보호된 메소드들

메소드 설명
LoadContent ( ) : void

비공개 메소드들

메소드 설명
DrawIcon ( PerfIconType iconType, Vector2 position ) : void
FrametimeToPerfIcon ( float frameTime ) : PerfIconType

메소드 상세

CuteFrametimeCounterComponent() 공개 메소드

public CuteFrametimeCounterComponent ( Microsoft.Xna.Framework.Game game, bool showFrametimeText, bool showIcons ) : System
game Microsoft.Xna.Framework.Game
showFrametimeText bool
showIcons bool
리턴 System

Draw() 공개 메소드

public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
리턴 void

Initialize() 공개 메소드

Allows the game component to perform any initialization it needs to before starting to run. This is where it can query for any required services and load content.
public Initialize ( ) : void
리턴 void

LoadContent() 보호된 메소드

protected LoadContent ( ) : void
리턴 void

Update() 공개 메소드

Allows the game component to update itself.
public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime Provides a snapshot of timing values.
리턴 void

프로퍼티 상세

FrametimeDangerDisplayColor 공개적으로 프로퍼티

public Color FrametimeDangerDisplayColor
리턴 Color

FrametimeDisplayColor 공개적으로 프로퍼티

public Color FrametimeDisplayColor
리턴 Color

FrametimeDisplayPosition 공개적으로 프로퍼티

public Vector2 FrametimeDisplayPosition
리턴 Vector2

ShowAveragedFrametime 공개적으로 프로퍼티

public bool ShowAveragedFrametime
리턴 bool