Timer helper class.
更多...
#include <RenderCore.h>
|
|
float | CurrentDeltaTime |
| | Current delta time (number of seconds that passed between the last two tick).
|
| |
|
float | CurrentTime |
| | Current time, in seconds.
|
| |
◆ GetCurrentDeltaTime()
| float FTimer::GetCurrentDeltaTime |
( |
| ) |
const |
|
inline |
Returns the current delta time.
- 返回
- Current delta time (number of seconds that passed between the last two tick)
◆ GetCurrentTime()
| float FTimer::GetCurrentTime |
( |
| ) |
const |
|
inline |
Returns the current time, in seconds.
- 返回
- Current time, in seconds
◆ Tick()
| void FTimer::Tick |
( |
float |
DeltaTime | ) |
|
|
inline |
Updates the timer.
- 参数
-
| DeltaTime | Number of seconds that have passed since the last tick |
该类的文档由以下文件生成: