FTicker::Tick

Fire all tickers who have passed their delay and reschedule the ones that return true

Windows
MacOS
Linux

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

Syntax

void Tick
(
    float DeltaTime
)

Remarks

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.

Parameters

Parameter

Description

DeltaTime

time that has passed since the last tick call

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss