IRewindCallback::TriggerRewindIfNeeded_Internal

Called after sim step to give the option to rewind.

Windows
MacOS
Linux

References

Module

Chaos

Header

/Engine/Source/Runtime/Experimental/Chaos/Public/RewindData.h

Include

#include "RewindData.h"

Syntax

virtual int32 TriggerRewindIfNeeded_Internal
(
    int32 LatestStepCompleted
)

Remarks

Called after sim step to give the option to rewind. Any pending inputs for the next frame will remain in the queue Return the PhysicsStep to start resimulating from. Resim will run up until latest step passed into RecordInputs (i.e. latest physics sim simulated so far) Return INDEX_NONE to indicate no rewind

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss