프로퍼티 | 타입 | 설명 | |
---|---|---|---|
averageFramesPerSecond | float | ||
currentFramesPerSecond | float | ||
maximumSamples | int | ||
totalFrames | long |
메소드 | 설명 | |
---|---|---|
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 | |
리턴 | System.Collections.Generic |
public FramesPerSecondCounter ( |
||
font | ||
color | Color | |
dockPosition | FPSDockPosition | |
maximumSamples | int | |
리턴 | System.Collections.Generic |
public render ( |
||
graphics | ||
camera | ||
리턴 | void |
public setDockOffset ( Vector2 dockOffset ) : |
||
dockOffset | Vector2 | Offset from screen edges |
리턴 |
public setDockPosition ( FPSDockPosition dockPosition ) : |
||
dockPosition | FPSDockPosition | Corner of the screen |
리턴 |