Module |
|
Header |
/Engine/Plugins/Runtime/NetworkPrediction/Source/NetworkPrediction/Public/NetworkPredictionDriver.h |
Include |
#include "NetworkPredictionDriver.h" |
static void InitializeSimulationState
(
DriverType * Driver,
FNetworkPredictionStateView * View
)
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.