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