engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Protected 属性 | 所有成员列表
FTimer类 参考

Timer helper class. 更多...

#include <RenderCore.h>

Public 成员函数

 FTimer ()
 Constructor
 
float GetCurrentDeltaTime () const
 Returns the current delta time. 更多...
 
float GetCurrentTime () const
 Returns the current time, in seconds. 更多...
 
void Tick (float DeltaTime)
 Updates the timer. 更多...
 

Protected 属性

float CurrentDeltaTime
 Current delta time (number of seconds that passed between the last two tick).
 
float CurrentTime
 Current time, in seconds.
 

详细描述

Timer helper class.

成员函数说明

◆ 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.

参数
DeltaTimeNumber of seconds that have passed since the last tick

该类的文档由以下文件生成: