TSimulationTicker::GiveSimulationTime

"Grants" allowed simulation time to this tick state.

Windows
MacOS
Linux

References

Module

NetworkPrediction

Header

/Engine/Plugins/Runtime/NetworkPrediction/Source/NetworkPrediction/Public/NetworkedSimulationModelTick.h

Include

#include "NetworkedSimulationModelTick.h"

Syntax

void GiveSimulationTime
(
    float RealTimeSeconds
)

Remarks

"Grants" allowed simulation time to this tick state. That is, we are now allowed to advance the simulation by this amount the next time the sim ticks. Note the input is RealTime in SECONDS. This is what the rest of the engine uses when dealing with float delta time.

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