프로퍼티 | 타입 | 설명 | |
---|---|---|---|
FrametimeDangerDisplayColor | Color | ||
FrametimeDisplayColor | Color | ||
FrametimeDisplayPosition | Vector2 | ||
ShowAveragedFrametime | bool |
메소드 | 설명 | |
---|---|---|
CuteFrametimeCounterComponent ( Microsoft.Xna.Framework.Game game, bool showFrametimeText, bool showIcons ) : System | ||
Draw ( |
||
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 ( |
Allows the game component to update itself.
|
메소드 | 설명 | |
---|---|---|
LoadContent ( ) : void |
메소드 | 설명 | |
---|---|---|
DrawIcon ( PerfIconType iconType, Vector2 position ) : void | ||
FrametimeToPerfIcon ( float frameTime ) : PerfIconType |
public CuteFrametimeCounterComponent ( Microsoft.Xna.Framework.Game game, bool showFrametimeText, bool showIcons ) : System | ||
game | Microsoft.Xna.Framework.Game | |
showFrametimeText | bool | |
showIcons | bool | |
리턴 | System |
public Draw ( |
||
gameTime | ||
리턴 | void |
public Update ( |
||
gameTime | Provides a snapshot of timing values. | |
리턴 | void |