UPhysicsSimpleComponent

Debug/Testing component.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

NetworkPredictionExtras

Header

/Engine/Plugins/Runtime/NetworkPredictionExtras/Source/NetworkPredictionExtras/Public/PhysicsSimple.h

Include

#include "PhysicsSimple.h"

Syntax

UCLASS(BlueprintType, Meta=(BlueprintSpawnableComponent))
class UPhysicsSimpleComponent : public UNetworkPhysicsComponent

Remarks

Debug/Testing component.

Variables

Name Description

Public variable UProperty Replicated

FNetworkPredict...

 

NetworkPredictionProxy

Public variable UProperty Category BlueprintAssignable

FOnGenerateLoca...

 

OnGenerateLocalInputCmd

Event called when local input is needed: fill out PendingInputCmd with latest input data.

Public variable UProperty Category BlueprintReadWrite

FSimpleInputCmd

 

PendingInputCmd

Game code should write to this when locally controlling this object.

Public variable UProperty Category BlueprintReadOnly

FSimpleNetState

 

SimpleState

Latest MovementState.

Constructors

Name Description

Public function

UPhysicsSimpleComponent()

Functions

Name Description

Public function UFunction BlueprintCallable, Category

void

 

SetCounter

(
    int32 NewValue
)

Overridden from UActorComponent

Name Description

Public function Virtual

void

 

InitializeComponent()

Initializes the component.

Public function Virtual

void

 

PreReplication

(
    IRepChangedPropertyTracker& Change...
)

Called on the component right before replication occurs

Public function Virtual

void

 

TickComponent

(
    float DeltaTime,
    enum ELevelTick TickType,
    FActorComponentTickFunction* T...
)

Function called every frame on this ActorComponent.

Public function Virtual

void

 

UninitializeComponent()

Handle this component being Uninitialized.

Classes

Name

Description

Public class

FOnGenerateLocalInputCmd