Navigation
API > API/Runtime > API/Runtime/Engine
Network physics rewind callback to manage all the sim callbacks rewind functionalities
| Name | FNetworkPhysicsCallback |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/Physics/NetworkPhysicsComponent.h |
| Include Path | #include "Physics/NetworkPhysicsComponent.h" |
Syntax
struct FNetworkPhysicsCallback : public Chaos::IRewindCallback
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FNetworkPhysicsCallback
(
UWorld* InWorld |
Physics/NetworkPhysicsComponent.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| InjectInputsExternal | FOnInjectInputsExternal | Bind to this for additional processing on the GT during InjectInputs_External() | Physics/NetworkPhysicsComponent.h | |
| PostProcessInputsInternal | FOnPostProcessInputsInternal | Physics/NetworkPhysicsComponent.h | ||
| PreProcessInputsInternal | FOnPreProcessInputsInternal | Delegate on the internal inputs process. | Physics/NetworkPhysicsComponent.h | |
| RewindableCallbackObjects | TArray< Chaos::ISimCallbackObject * > | List of rewindable sim callback objects. | Physics/NetworkPhysicsComponent.h | |
| World | UWorld * | World owning that callback. | Physics/NetworkPhysicsComponent.h |
Functions
Public
Overridden from IRewindCallback
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void InjectInputs_External
(
int32 PhysicsStep, |
Rewind API. | Physics/NetworkPhysicsComponent.h | |
virtual void PostResimStep_Internal
(
int32 PhysicsStep |
Physics/NetworkPhysicsComponent.h | ||
virtual void PreResimStep_Internal
(
int32 PhysicsStep, |
Physics/NetworkPhysicsComponent.h | ||
virtual void ProcessInputs_External
(
int32 PhysicsStep, |
Physics/NetworkPhysicsComponent.h | ||
virtual void ProcessInputs_Internal
(
int32 PhysicsStep, |
Physics/NetworkPhysicsComponent.h | ||
virtual void RegisterRewindableSimCallback_Internal
(
Chaos::ISimCallbackObject* SimCallbackObject |
Physics/NetworkPhysicsComponent.h | ||
virtual int32 TriggerRewindIfNeeded_Internal
(
int32 LatestStepCompleted |
Physics/NetworkPhysicsComponent.h | ||
virtual void UnregisterRewindableSimCallback_Internal
(
Chaos::ISimCallbackObject* SimCallbackObject |
Physics/NetworkPhysicsComponent.h |