Navigation
API > API/Runtime > API/Runtime/TimeManagement > API/Runtime/TimeManagement/UCatchupFixedRateCustomTimeStep
Description
Calculates the delta time to apply for the current frame based on the difference between simulation time and platform time. Adjusts the simulation delta time to account for systemic fall-behind, allowing the simulation to catch up smoothly.
| Name | CalculateDeltaSeconds |
| Type | function |
| Header File | /Engine/Source/Runtime/TimeManagement/Public/CatchupFixedRateCustomTimeStep.h |
| Include Path | #include "CatchupFixedRateCustomTimeStep.h" |
| Source | /Engine/Source/Runtime/TimeManagement/Private/CatchupFixedRateCustomTimeStep.cpp |
double CalculateDeltaSeconds
(
const double CurrentSimulationSeconds,
const double CurrentPlatformSeconds
) const