Navigation
API > API/Plugins > API/Plugins/NetworkPredictionExtras
Inheritance Hierarchy
- UActorComponent
- UNetworkPredictionComponent
- UBaseMovementComponent
- UFlyingMovementComponent
- UMockFlyingAbilityComponent
References
Module | NetworkPredictionExtras |
Header | /Engine/Plugins/Runtime/NetworkPredictionExtras/Source/NetworkPredictionExtras/Public/FlyingMovementComponent.h |
Include | #include "FlyingMovementComponent.h" |
Syntax
UCLASS (BlueprintType, Meta=(BlueprintSpawnableComponent))
class UFlyingMovementComponent : public UBaseMovementComponent
Remarks
ActorComponent for running FlyingMovement
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
FFlyingMovementSimulation * | ActiveMovementSimulation | |
![]() |
TPimplPtr< FFlyingMovementSimulation > | OwnedMovementSimulation | |
![]() |
FProduceFlyingInput | ProduceInputDelegate |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | AddMaxMoveSpeed
(
float AdditiveMaxMoveSpeed |
|
![]() |
void | FinalizeFrame
(
const FFlyingMovementSyncState* SyncState, |
Take output for simulation. |
![]() ![]() |
float | ||
![]() ![]() |
float | ||
![]() |
void | InitFlyingMovementSimulation
(
FFlyingMovementSimulation* Simulation |
|
![]() |
void | InitializeSimulationState
(
FFlyingMovementSyncState* Sync, |
Seed initial values based on component's state. |
![]() |
void | ProduceInput
(
const int32 DeltaTimeMS, |
Get latest local input prior to simulation step. |
![]() |
void | RestoreFrame
(
const FFlyingMovementSyncState* SyncState, |
Restore a previous frame prior to resimulating. |
![]() |
void | SetMaxMoveSpeed
(
float NewMaxMoveSpeed |
|
![]() ![]() |
void | TickComponent
(
float DeltaTime, |
Overridden from UBaseMovementComponent
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | OnBeginOverlap
(
UPrimitiveComponent* OverlappedComp, |
BeginOverlap has to be bound to a ufunction, so we have no choice but to bind here and forward into simulation code. Not ideal. |
Overridden from UNetworkPredictionComponent
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | Network Prediction. |
Typedefs
Name | Description |
---|---|
FProduceFlyingInput | Forward input producing event to someone else (probably the owning actor) |