Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Containers > API/Runtime/Core/Containers/FTSTicker > API/Runtime/Core/Containers/FTSTicker/AddTicker
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Containers/Ticker.h |
| Include | #include "Containers/Ticker.h" |
| Source | /Engine/Source/Runtime/Core/Private/Containers/Ticker.cpp |
FDelegateHandle AddTicker
(
const TCHAR * InName,
float InDelay,
TFunction < bool> Function
)
Remarks
Add a new ticker with a given delay / interval.
Can be called concurrently.
Parameters
| Name | Description |
|---|---|
| InName | Name of this ticker for profiling |
| InDelay | Delay until next fire; 0 means "next frame" |
| Function | Function to execute. Should return true to fire after another InDelay time |