Choose your operating system:
Windows
macOS
Linux
| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/Runtime/NetworkPredictionExtras/Source/NetworkPredictionExtras/Public/MockNetworkSimulation.h |
Include |
#include "MockNetworkSimulation.h" |
UCLASS(BlueprintType, Meta=(BlueprintSpawnableComponent))
class UMockNetworkSimulationComponent : public UNetworkPredictionComponent
ActorComponent for running a MockNetworkSimulation (implements Driver for the mock simulation)
Name | Description | ||
---|---|---|---|
|
TUniquePtr< FMo... |
MockNetworkSimulation |
Our own simulation object. This could just as easily be shared among all UMockNetworkSimulationComponent. |
|
float |
MockValue |
Mock representation of "syncing' to the sync state in the network sim. |
Name | Description | |
---|---|---|
|
UMockNetworkSimulationComponent() |
Name | Description | ||
---|---|---|---|
|
FinalizeFrame ( |
Take output of Sim and push to component. |
|
|
HandleCue ( |
||
|
InitializeSimulationState ( |
Seed initial values based on component's state. |
|
|
ProduceInput ( |
Set latest input. |
Name | Description | ||
---|---|---|---|
|
InitializeNetworkPredictionProxy() |
Classes must initialize the NetworkPredictionProxy (register with the NetworkPredictionSystem) here. EndPlay will unregister. |
Name | Description | ||
---|---|---|---|
|
TickComponent ( |
Function called every frame on this ActorComponent. |