UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
Ticker.h File Reference
#include "Containers/Array.h"
#include "Containers/ContainerAllocationPolicies.h"
#include "Containers/MpscQueue.h"
#include "CoreTypes.h"
#include "Delegates/Delegate.h"
#include "Templates/Function.h"
#include "Templates/SharedPointer.h"
#include <atomic>

Go to the source code of this file.

Classes

class  FTSTicker
 
class  FTSTickerObjectBase
 

Functions

 DECLARE_DELEGATE_RetVal_OneParam (bool, FTickerDelegate, float)
 
template<typename FunctorType >
void ExecuteOnGameThread (const TCHAR *DebugName, FunctorType &&Functor)
 

Function Documentation

◆ DECLARE_DELEGATE_RetVal_OneParam()

DECLARE_DELEGATE_RetVal_OneParam ( bool  ,
FTickerDelegate  ,
float   
)

Ticker delegates return true to automatically reschedule at the same delay or false for one-shot. You will not get more than one fire per "frame", which is just a FTSTicker::Tick call. DeltaTime argument is the time since the last game frame, not since the last tick the delegate received.

◆ ExecuteOnGameThread()

template<typename FunctorType >
void ExecuteOnGameThread ( const TCHAR DebugName,
FunctorType &&  Functor 
)