FNetworkPredictionDriverBase::InitializeSimulationState

InitializeSimulationState

Windows
MacOS
Linux

References

Module

NetworkPrediction

Header

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

Include

#include "NetworkPredictionDriver.h"

Syntax

static void InitializeSimulationState
(
    DriverType * Driver,
    FNetworkPredictionStateView * View
)

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.

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