Navigation
API > API/Runtime > API/Runtime/Chaos > API/Runtime/Chaos/IRewindCallback
Description
Called before inputs are split into potential sub-steps and marshalled over to the physics thread. The physics state has not been applied yet, and cannot be inspected anyway because this is triggered from the external thread (game thread) Gives user the ability to call GetProducerInputData_External one last time. Input data is shared amongst sub-steps. If NumSteps > 1 it means any input data injected will be shared for all sub-steps generated
| Name | InjectInputs_External |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/RewindData.h |
| Include Path | #include "RewindData.h" |
virtual void InjectInputs_External
(
int32 PhysicsStep,
int32 NumSteps
)