engine
 
载入中...
搜索中...
未找到
所有成员列表
FBackgroundableTicker类 参考

This works the same as the core FTicker, but on supported mobile platforms it continues ticking while the app is running in the background. 更多...

#include <BackgroundableTicker.h>

+ 类 FBackgroundableTicker 继承关系图:

额外继承的成员函数

- Public 成员函数 继承自 FTicker
CORE_API FDelegateHandle AddTicker (const FTickerDelegate &InDelegate, float InDelay=0.0f)
 Add a new ticker with a given delay / interval 更多...
 
CORE_API FDelegateHandle AddTicker (const TCHAR *InName, float InDelay, TFunction< bool(float)> Function)
 Add a new ticker with a given delay / interval. 更多...
 
CORE_API void RemoveTicker (FDelegateHandle Handle)
 Removes a previously added ticker delegate. 更多...
 
CORE_API void Tick (float DeltaTime)
 Fire all tickers who have passed their delay and reschedule the ones that return true 更多...
 
- 静态 Public 成员函数 继承自 FTicker
static CORE_API FTicker & GetCoreTicker ()
 Singleton used for the ticker in Core / Launch. 更多...
 
- Protected 属性 继承自 FTicker
bool bCurrentElementRemoved
 State to track whether the CurrentElement removed itself during its own delegate execution.
 
bool bInTick
 State to track whether CurrentElement is valid.
 
FElement CurrentElement
 Current element being ticked (only valid during tick).
 
double CurrentTime
 Current time of the ticker
 
TArray< FElement, TInlineAllocator< 1 > > Elements
 Future delegates to fire
 
TArray< FElement, TInlineAllocator< 1 > > TickedElements
 List of delegates that have been considered during Tick. 更多...
 

详细描述

This works the same as the core FTicker, but on supported mobile platforms it continues ticking while the app is running in the background.


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