Method | Description | |
---|---|---|
GetFrameId ( ) : long | ||
HighFrequencyTimer ( double fps, Action |
Creates a new instance of a high-resolution FPS timer.
|
|
HighFrequencyTimer ( double fps, Action |
Creates a new instance of a high-resolution FPS timer.
|
|
IsRunning ( ) : bool | ||
Start ( ) : bool | ||
Stop ( ) : bool |
Method | Description | |
---|---|---|
Run ( object state ) : void |
public HighFrequencyTimer ( double fps, Action |
||
fps | double | The desired frame rate per second. |
callback | Action |
The callback to be invoked on each frame. |
return | System |
public HighFrequencyTimer ( double fps, Action |
||
fps | double | The desired frame rate per second. |
callback | Action |
The callback to be invoked on each frame. |
started | System.Action | The callback to be invoked when the timer enters the running state. |
stopped | System.Action | The callback to be invoked when the timer enters the stopped state. |
actualFpsUpdate | Action |
The callback to invoked to receive updates of the actual frame rate. |
return | System |