This object is used to retrieve information regarding the time. NOTE: This object can only be created by the Engine.
More...
#include <Time.hpp>
|
| | ~Time ()=default |
| |
| float | GetDeltaTime () const |
| | This method allows you to get the current deltaTime. More...
|
| |
| int | GetMaxIterations () const |
| | This method is used to get the maximum amount of iterations for the previous frame rates. More...
|
| |
| eastl::vector< float > | GetPreviousFramerates () const |
| | This method allows you to get a vector of floats from the previous frames their delta times. More...
|
| |
This object is used to retrieve information regarding the time. NOTE: This object can only be created by the Engine.
Definition at line 11 of file Time.hpp.
| float Engine::Time::GetDeltaTime |
( |
| ) |
const |
This method allows you to get the current deltaTime.
- Returns
- Returns the current delta time as a float.
Definition at line 15 of file Time.cpp.
| int Engine::Time::GetMaxIterations |
( |
| ) |
const |
This method is used to get the maximum amount of iterations for the previous frame rates.
- Returns
- Returns the maximum amount of iterations as an int.
Definition at line 20 of file Time.cpp.
| eastl::vector< float > Engine::Time::GetPreviousFramerates |
( |
| ) |
const |
This method allows you to get a vector of floats from the previous frames their delta times.
- Returns
- Returns the delta times from the previous frames as a vector of floats.
Definition at line 25 of file Time.cpp.
The documentation for this class was generated from the following files: