class
FRewindSystem
The play session's time rewind (game.Rewind): the scene's ECS world and physics scene are captured into a FRewindBuffer a few times a second, and a rewind asked for — from Visual Scripting, MRewindStatics::RewindSeconds — is applied at the start of the next update, never in the middle of a frame something is still iterating. Window, capture rate and memory budget are project settings (game.Rewind.Seconds / CaptureHz / BudgetMB).
- Module
- Game
- Header
#include "Rollback/RewindSystem.h"- Namespace
Mowo
Physics comes back only while the set of bodies is the one the capture saw (a body spawned or destroyed since makes the restore fail and is counted); the ECS world, transforms included, always comes back.
Constructors
| Signature | Name | Description |
|---|---|---|
FRewindSystem() | FRewindSystem | |
~FRewindSystem() override | ~FRewindSystem | |
FRewindSystem(const FRewindSystem&) = delete | FRewindSystem |
Public functions
| Returns | Name | Description |
|---|---|---|
FRewindSystem& | operator= | |
SystemPhase | GetPhase | |
const char* | GetDebugName | |
void | Initialize | |
void | Update | |
void | Shutdown | |
bool | RequestRewind | False when rewind is off or nothing is held yet. |
bool | IsEnabled | |
const FRewindBuffer* | GetBuffer | |
float | GetLastRewound | |
uint32_t | GetPhysicsRestoreFailures | |
FRewindSystem* | Find |
Function details
FRewindSystem
C++
FRewindSystem()~FRewindSystem
C++
~FRewindSystem() overrideFRewindSystem
C++
FRewindSystem(const FRewindSystem&) = deleteoperator=
C++
FRewindSystem& operator=(const FRewindSystem&) = deleteGetPhase
C++
SystemPhase GetPhase() const overrideGetDebugName
C++
const char* GetDebugName() const overrideInitialize
C++
void Initialize(World* world) overrideUpdate
C++
void Update(float deltaTime) overrideShutdown
C++
void Shutdown() overrideRequestRewind
C++
bool RequestRewind(float seconds)False when rewind is off or nothing is held yet.
IsEnabled
C++
bool IsEnabled() constGetBuffer
C++
const FRewindBuffer* GetBuffer() constGetLastRewound
C++
float GetLastRewound() constGetPhysicsRestoreFailures
C++
uint32_t GetPhysicsRestoreFailures() constFind
C++
static FRewindSystem* Find(World& world)Generated from Rollback/RewindSystem.h via game.json · Nov 5, 2026Version 1.0.0