Navigation
API > API/Plugins > API/Plugins/NetworkPrediction
| Name | ENetworkPredictionLocalInputPolicy |
| Type | enum |
| Header File | /Engine/Plugins/Runtime/NetworkPrediction/Source/NetworkPrediction/Public/NetworkPredictionConfig.h |
| Include Path | #include "NetworkPredictionConfig.h" |
Syntax
enum ENetworkPredictionLocalInputPolicy
{
Passive,
PollPerSimFrame,
}
Values
| Name | Remarks |
|---|---|
| Passive | Up to the user to write input via FNetSimProxy::WriteInputCmd. |
| PollPerSimFrame | ProduceInput is called on the driver before every simulation frame. This may be necessary for things like aim assist and fixed step simulations that run multiple sim frames per engine frame. |