class

FPhysicsSnapshotRing

The last capacity whole-world states, by tick. A tick's snapshot is the world BEFORE that tick is simulated, so restoring tick N and stepping runs tick N again. Capturing a tick drops every snapshot at or after it: a state that rewrites the past invalidates what was recorded after it.

Module
Physics
Header
#include "Physics/PhysicsSnapshot.h"
Namespace
Mowo

Public functions

ReturnsNameDescription
voidSetCapacity
uint32_tGetCapacity
boolCapture
boolRestore
const std::vector<uint8_t>*Find
boolGetChecksum
boolIsEmpty
int32_tGetOldestTick
int32_tGetNewestTick
uint32_tGetCount
uint64_tGetBytes
voidClear

Function details

SetCapacity

C++
void SetCapacity(uint32_t frames)

GetCapacity

C++
uint32_t GetCapacity() const

Capture

C++
bool Capture(int32_t tick, const PhysicsWorld& world)

Restore

C++
bool Restore(int32_t tick, PhysicsWorld& world) const

Find

C++
const std::vector<uint8_t>* Find(int32_t tick) const

GetChecksum

C++
bool GetChecksum(int32_t tick, uint64_t& outChecksum) const

IsEmpty

C++
bool IsEmpty() const

GetOldestTick

C++
int32_t GetOldestTick() const

GetNewestTick

C++
int32_t GetNewestTick() const

GetCount

C++
uint32_t GetCount() const

GetBytes

C++
uint64_t GetBytes() const

Clear

C++
void Clear()
Generated from Physics/PhysicsSnapshot.h via physics.json · Nov 4, 2026Version 1.0.0