Navigation
API > API/Plugins > API/Plugins/NetworkPredictionExtras
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- UNetworkPredictionComponent
- UBaseMovementComponent
- UParametricMovementComponent
References
| Module | NetworkPredictionExtras |
| Header | /Engine/Plugins/Runtime/NetworkPredictionExtras/Source/NetworkPredictionExtras/Public/ParametricMovement.h |
| Include | #include "ParametricMovement.h" |
Syntax
UCLASS&40;BlueprintType, Meta&61;&40;BlueprintSpawnableComponent&41;&41;
class UParametricMovementComponent : public UBaseMovementComponent
Remarks
ActorComponent for running basic Parametric movement. Parametric movement could be anything that takes a Time and returns an FTransform.
Initially, we will support pushing (ie, we sweep as we update the mover's position). But we will not allow a parametric mover from being blocked.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bDisableParametricMovementSimulation | Temp Parametric movement example The essence of this movement simulation is to map some Time value to a transform. | |
| bool | bEnableDependentSimulation | ||
| bool | bEnableForceNetUpdate | Calls ForceNetUpdate every frame. | |
| bool | bEnableInterpolation | ||
| TPimplPtr< FParametricMovementSimulation > | OwnedParametricMovementSimulation | ||
| FSimpleParametricMotion | ParametricMotion | ||
| float | ParentNetUpdateFrequency | Sets NetUpdateFrequency on parent. | |
| TOptional< float > | PendingPlayRate |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | EnableInterpolationMode
(
bool bValue |
||
| void | FinalizeFrame
(
const FParametricSyncState* SyncState, |
||
| void | InitializeSimulationState
(
FParametricSyncState* SyncState, |
||
| void | ProduceInput
(
const int32 SimTimeMS, |
||
| void | RestoreFrame
(
const FParametricSyncState* SyncState, |
Overridden from UNetworkPredictionComponent
| Type | Name | Description | |
|---|---|---|---|
| void | Classes must initialize the NetworkPredictionProxy (register with the NetworkPredictionSystem) here. EndPlay will unregister. |
Overridden from UActorComponent
| Type | Name | Description | |
|---|---|---|---|
| void | BeginPlay () |
Begins Play for the component. | |
| void | TickComponent
(
float DeltaTime, |
Function called every frame on this ActorComponent. |