Свойство | Type | Description | |
---|---|---|---|
averageFramesPerSecond | float | ||
currentFramesPerSecond | float | ||
maximumSamples | int | ||
totalFrames | long |
Méthode | Description | |
---|---|---|
FramesPerSecondCounter ( BitmapFont font, Color color, FPSDockPosition dockPosition = FPSDockPosition.TopRight, int maximumSamples = 100 ) : System.Collections.Generic | ||
FramesPerSecondCounter ( |
||
IUpdatable ( ) : void | ||
debugRender ( |
||
init ( ) : void | ||
render ( |
||
reset ( ) : void | ||
setDockOffset ( Vector2 dockOffset ) : |
Sets how far the fps text will appear from the edges of the screen.
|
|
setDockPosition ( FPSDockPosition dockPosition ) : |
Sets which corner of the screen the fps text will show.
|
|
updateTextPosition ( ) : void |
public FramesPerSecondCounter ( BitmapFont font, Color color, FPSDockPosition dockPosition = FPSDockPosition.TopRight, int maximumSamples = 100 ) : System.Collections.Generic | ||
font | BitmapFont | |
color | Color | |
dockPosition | FPSDockPosition | |
maximumSamples | int | |
Résultat | System.Collections.Generic |
public FramesPerSecondCounter ( |
||
font | ||
color | Color | |
dockPosition | FPSDockPosition | |
maximumSamples | int | |
Résultat | System.Collections.Generic |
public debugRender ( |
||
graphics | ||
Résultat | void |
public render ( |
||
graphics | ||
camera | ||
Résultat | void |
public setDockOffset ( Vector2 dockOffset ) : |
||
dockOffset | Vector2 | Offset from screen edges |
Résultat |
public setDockPosition ( FPSDockPosition dockPosition ) : |
||
dockPosition | FPSDockPosition | Corner of the screen |
Résultat |