Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FTSTicker
Description
Fire all tickers who have passed their delay and reschedule the ones that return true
Note: This reschedule has timer skew, meaning we always wait a full Delay period after each invocation even if we missed the last interval by a bit. For instance, setting a delay of 0.1 seconds will not necessarily fire the delegate 10 times per second, depending on the Tick() rate. What this DOES guarantee is that a delegate will never be called MORE FREQUENTLY than the Delay interval, regardless of how far we miss the scheduled interval.
Must not be called concurrently.
| Name | Tick |
| 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 |
void Tick
(
float DeltaTime
)
Parameters
| Name | Remarks |
|---|---|
| DeltaTime | time that has passed since the last tick call |