Navigation
API > API/Runtime > API/Runtime/Chaos
Inheritance Hierarchy
- IRewindCallback
- FNetworkPhysicsCallback
References
| Module | Chaos |
| Header | /Engine/Source/Runtime/Experimental/Chaos/Public/RewindData.h |
| Include | #include "RewindData.h" |
Syntax
class IRewindCallback
Remarks
Used by user code to determine when rewind should occur and gives it the opportunity to record any additional data
Variables
| Type | Name | Description | |
|---|---|---|---|
| Chaos::FRewindData * | RewindData | Rewind Data holding the callback |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ApplyCallbacks_Internal
(
int32 PhysicsStep, |
Called after any presim callbacks are triggered and after physics data has marshalled over in order to modify the sim callback outputs | |
| void | InjectInputs_External
(
int32 PhysicsStep, |
Called before inputs are split into potential sub-steps and marshalled over to the physics thread. | |
| void | PostResimStep_Internal
(
int32 PhysicsStep |
Called after each rewind step. | |
| void | PreResimStep_Internal
(
int32 PhysicsStep, |
Called before each rewind step. | |
| void | ProcessInputs_External
(
int32 PhysicsStep, |
Called before any inputs are marshalled over to the physics thread. | |
| void | ProcessInputs_Internal
(
int32 PhysicsStep, |
Called before any sim callbacks are triggered but after physics data has marshalled over This means brand new physics particles are already created for example, and any pending game thread modifications have happened See ISimCallbackObject for recording inputs to callbacks associated with this PhysicsStep | |
| void | RegisterRewindableSimCallback_Internal
(
ISimCallbackObject* Callback |
Register a sim callback onto the rewind callback | |
| void | SetResimDebugInfo_Internal
(
const FResimDebugInfo& ResimDebugInfo |
Called When resim is finished with debug information about the resim | |
| int32 | TriggerRewindIfNeeded_Internal
(
int32 LatestStepCompleted |
Called after sim step to give the option to rewind. |