UParametricMovementComponent

ActorComponent for running basic Parametric movement.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

NetworkPrediction

Header

/Engine/Plugins/Runtime/NetworkPrediction/Source/NetworkPrediction/Public/Movement/ParametricMovement.h

Include

#include "Movement/ParametricMovement.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(BlueprintType, Meta=(BlueprintSpawnableComponent))
class UParametricMovementComponent :
    public UBaseMovementComponent,
    public TNetworkedSimulationModelDriver< ParametricMovementBufferTypes >

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

Name Description

Protected variable UProperty Category, EditAnywhere BlueprintReadOnly

bool

 

bDisableParametricMovementSimulation

Temp Parametric movement example The essence of this movement simulation is to map some Time value to a transform.

Protected variable UProperty Category, EditAnywhere BlueprintReadOnly

bool

 

bEnableDependentSimulation

Protected variable UProperty Category, EditAnywhere BlueprintReadOnly

bool

 

bEnableForceNetUpdate

Calls ForceNetUpdate every frame.

Protected variable UProperty Category, EditAnywhere BlueprintReadOnly

bool

 

bEnableInterpolation

Protected variable

TNetSimStateAcc...

 

MovementAuxState

Protected variable

TNetSimStateAcc...

 

MovementSyncState

Protected variable UProperty Category, EditAnywhere BlueprintReadOnly

FSimpleParametr...

 

ParametricMotion

Protected variable

FParametricMove...

 

ParametricMovementSimulation

Protected variable UProperty Category, EditAnywhere BlueprintReadOnly

float

 

ParentNetUpdateFrequency

Sets NetUpdateFrequency on parent.

Protected variable

TOptional< floa...

 

PendingPlayRate

Constructors

No constructors are accessible with public or protected access.

Functions

Name Description

Protected function

void

 

InitParametricMovementNetSimModel

(
    TNetSimModel* Model
)

Protected function

void

 

InitParametricMovementSimulation

(
    TSimulation* Simulation,
    FParametricSyncState& InitialSyncS...,
    FParametricAuxState& InitialAuxSta...
)

Overridden from UNetworkPredictionComponent

Name Description

Protected function Virtual

FNetworkSimu...

 

GetSimulationInitParameters

(
    ENetRole Role
)

Doesn't need to be overridden. Expected to be used in ::InitializeForNetworkRole implementation.

Protected function Virtual

INetworkedSi...

 

InstantiateNetworkedSimulation()

Classes must instantiate their own NetworkSim here. The UNetworkPredictionComponent will manage its lifetime.

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