Navigation
API > API/Plugins > API/Plugins/NetworkPredictionExtras
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- UNetworkPredictionComponent
- UBaseMovementComponent
- UFlyingMovementComponent
- UMockFlyingAbilityComponent
References
| Module | NetworkPredictionExtras |
| Header | /Engine/Plugins/Runtime/NetworkPredictionExtras/Source/NetworkPredictionExtras/Public/FlyingMovementComponent.h |
| Include | #include "FlyingMovementComponent.h" |
Syntax
UCLASS&40;BlueprintType, Meta&61;&40;BlueprintSpawnableComponent&41;&41;
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 |
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. |
Overridden from UActorComponent
| Type | Name | Description | |
|---|---|---|---|
| void | TickComponent
(
float DeltaTime, |
Function called every frame on this ActorComponent. |
Typedefs
| Name | Description |
|---|---|
| FProduceFlyingInput | Forward input producing event to someone else (probably the owning actor) |