TryGenerateLocalInput

Helper to generate a local input cmd if we have simulation time to spend and advance the simulation's MaxAllowedFrame so that it can be processed.

Windows
MacOS
Linux

References

Module

NetworkPrediction

Header

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

Include

#include "NetworkedSimulationModelRepControllers.h"

Syntax

template<typename Model>
void TryGenerateLocalInput
(
    typename TNetSimModelTraits< Model >::Driver * Driver,
    TNetworkSimBufferContainer< Model > & Buffers,
    TSimulationTicker< typename Model::TickSettings > & Ticker,
    bool bProduceInputViaDriver
)

Remarks

Helper to generate a local input cmd if we have simulation time to spend and advance the simulation's MaxAllowedFrame so that it can be processed.

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