IRewindCallback

Used by user code to determine when rewind should occur and gives it the opportunity to record any additional data

Windows
MacOS
Linux

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

Destructors

Name Description

Public function Virtual

~IRewindCallback()

Functions

Name Description

Public function Virtual

void

 

PostResimStep_Internal

(
    int32 PhysicsStep
)

Called after each rewind step.

Public function Virtual

void

 

PreResimStep_Internal

(
    int32 PhysicsStep,
    bool bFirstStep
)

Called before each rewind step.

Public function Virtual

void

 

ProcessInputs_External

(
    int32 PhysicsStep,
    const TArray< FSimCallbackInputAndO...
)

Called before any inputs are marshalled over to the physics thread.

Public function Virtual

void

 

ProcessInputs_Internal

(
    int32 PhysicsStep,
    const TArray< FSimCallbackInputAndO...
)

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

Public function Virtual

int32

 

TriggerRewindIfNeeded_Internal

(
    int32 LatestStepCompleted
)

Called after sim step to give the option to 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