Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FTSTicker
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FDelegateHandle AddTicker
(
const FTickerDelegate& InDelegate, |
Add a new ticker with a given delay / interval | Containers/Ticker.h | |
FDelegateHandle AddTicker
(
const TCHAR* InName, |
Add a new ticker with a given delay / interval.Can be called concurrently. | Containers/Ticker.h |
AddTicker(const FTickerDelegate &, float)
Description
Add a new ticker with a given delay / interval
Can be called concurrently. Resources used by the delegate must be released on the ticking thread.
| Name | AddTicker |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/Ticker.h |
| Include Path | #include "Containers/Ticker.h" |
| Source | /Engine/Source/Runtime/Core/Private/Containers/Ticker.cpp |
FDelegateHandle AddTicker
(
const FTickerDelegate & InDelegate,
float InDelay
)
Parameters
| Name | Remarks |
|---|---|
| InDelegate | Delegate to fire after the delay |
| InDelay | Delay until next fire; 0 means "next frame" |
AddTicker(const TCHAR *, float, TUniqueFunction< bool(float)> &&)
Description
Add a new ticker with a given delay / interval.
Can be called concurrently.
| Name | AddTicker |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/Ticker.h |
| Include Path | #include "Containers/Ticker.h" |
| Source | /Engine/Source/Runtime/Core/Private/Containers/Ticker.cpp |
FDelegateHandle AddTicker
(
const TCHAR * InName,
float InDelay,
TUniqueFunction < bool> && InFunction
)
Parameters
| Name | Remarks |
|---|---|
| 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 |