Navigation
Unreal Engine C++ API Reference > Plugins > NetworkPrediction > FNetworkPredictionDriverBase > InitializeSimulationState
References
Module | NetworkPrediction |
Header | /Engine/Plugins/Runtime/NetworkPrediction/Source/NetworkPrediction/Public/NetworkPredictionDriver.h |
Include | #include "NetworkPredictionDriver.h" |
static void InitializeSimulationState
&40;
DriverType &42; Driver,
FNetworkPredictionStateView &42; View
&41;
Remarks
InitializeSimulationState
Set the given simulation state to the current state of the driver. Called whenever the simulation is fully initialized and is ready to have its initial state set. This will be called if the instance is reconfigured as well (E.g, went from AP->SP, Interpolated->Forward Predicted, etc).
The default implementation will call InitializeSimulationState(FSyncState*, FAuxState*) on the Driver class itself.