Navigation
API > API/Plugins > API/Plugins/NetworkPredictionExtras
ActorComponent for running FlyingMovement
| Name | UFlyingMovementComponent |
| Type | class |
| Header File | /Engine/Plugins/Runtime/NetworkPredictionExtras/Source/NetworkPredictionExtras/Public/FlyingMovementComponent.h |
| Include Path | #include "FlyingMovementComponent.h" |
Syntax
UCLASS (BlueprintType, Meta=(BlueprintSpawnableComponent))
class UFlyingMovementComponent : public UBaseMovementComponent
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UActorComponent → UNetworkPredictionComponent → UBaseMovementComponent → UFlyingMovementComponent
Implements Interfaces
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UFlyingMovementComponent() |
FlyingMovementComponent.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FProduceFlyingInput | TBaseDelegate_TwoParams< void, const int32, FFlyingMovementInputCmd & > | Forward input producing event to someone else (probably the owning actor) | FlyingMovementComponent.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ProduceInputDelegate | FProduceFlyingInput | FlyingMovementComponent.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddMaxMoveSpeed
(
float AdditiveMaxMoveSpeed |
FlyingMovementComponent.h | ||
void FinalizeFrame
(
const FFlyingMovementSyncState* SyncState, |
Take output for simulation. | FlyingMovementComponent.h | |
float GetMaxMoveSpeed() |
FlyingMovementComponent.h | ||
void InitializeSimulationState
(
FFlyingMovementSyncState* Sync, |
Seed initial values based on component's state. | FlyingMovementComponent.h | |
void ProduceInput
(
const int32 DeltaTimeMS, |
Get latest local input prior to simulation step. | FlyingMovementComponent.h | |
void RestoreFrame
(
const FFlyingMovementSyncState* SyncState, |
Restore a previous frame prior to resimulating. | FlyingMovementComponent.h | |
void SetMaxMoveSpeed
(
float NewMaxMoveSpeed |
FlyingMovementComponent.h |
Overridden from UBaseMovementComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual 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. | FlyingMovementComponent.h |
Overridden from UActorComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void TickComponent
(
float DeltaTime, |
FlyingMovementComponent.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void InitFlyingMovementSimulation
(
FFlyingMovementSimulation* Simulation |
FlyingMovementComponent.h |
Overridden from UNetworkPredictionComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void InitializeNetworkPredictionProxy() |
Network Prediction. | FlyingMovementComponent.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static float GetDefaultMaxSpeed() |
FlyingMovementComponent.h |