Public API Reference |
#include <timer.h>
Inheritance diagram for aeTimer:
Public Member Functions | |
float | getFPS () const |
Get the current FPS. | |
float | getFrameInterval () const |
Get the interval between two frames. | |
void | calculateFrameRate () |
Calculate the current frame rate. | |
Private Attributes | |
float | FPS |
float | FPScounter |
float | frameInterval |
float | frameTime |
float | lastFrameTime |
float | currentTime |
Definition at line 34 of file timer.h.
|
Calculate the current frame rate.
|
|
Get the current FPS.
|
|
Get the interval between two frames. This is used by aeCamera to create time based movement.
|