UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
IClockedTimeStep Class Referenceabstract

#include <IClockedTimeStep.h>

+ Inheritance diagram for IClockedTimeStep:

Public Member Functions

virtual TOptional< doubleGetUnderlyingClockTime_AnyThread ()=0
 

Detailed Description

Intended to be implemented by UEngineCustomTimeStep implementations that have an underlying clock they synchronize to. This is used, e.g. by UTimecodeRegressionProvider to estimate the timecode when the engine hitches.

Member Function Documentation

◆ GetUnderlyingClockTime_AnyThread()

virtual TOptional< double > IClockedTimeStep::GetUnderlyingClockTime_AnyThread ( )
pure virtual
Returns
The latest / immediate value of the clock. The clock is what the implementation uses to determine the DeltaTime in UpdateTimeStep. If the current time is not available (e.g. still setting up a remote protocol) then this returns unset.

Implemented in UCatchupFixedRateCustomTimeStep.


The documentation for this class was generated from the following file: