Navigation
API > API/Plugins > API/Plugins/NetworkPrediction > API/Plugins/NetworkPrediction/FNetworkPredictionDriverBase
References
Module | NetworkPrediction |
Header | /Engine/Plugins/Runtime/NetworkPrediction/Source/NetworkPrediction/Public/NetworkPredictionDriver.h |
Include | #include "NetworkPredictionDriver.h" |
static void ProduceInput
&40;
DriverType &42; Driver,
int32 DeltaTimeMS,
InputType &42; InputCmd
&41;
Remarks
ProduceInput
Called on locally controlled simulations prior to ticking a new frame. This is to allow input to be as fresh as possible. submitting input from an Actor tick would be too late in the frame. NOTE: currently input is sampled/broadcast in PC tick and this is still causing a frame of latency in the samples. This will be fixed in the future.