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
| Returns | Name | Description |
|---|---|---|
void | SetCapacity | |
uint32_t | GetCapacity | |
bool | Capture | |
bool | Restore | |
const std::vector<uint8_t>* | Find | |
bool | GetChecksum | |
bool | IsEmpty | |
int32_t | GetOldestTick | |
int32_t | GetNewestTick | |
uint32_t | GetCount | |
uint64_t | GetBytes | |
void | Clear |
Function details
SetCapacity
C++
void SetCapacity(uint32_t frames)GetCapacity
C++
uint32_t GetCapacity() constCapture
C++
bool Capture(int32_t tick, const PhysicsWorld& world)Restore
C++
bool Restore(int32_t tick, PhysicsWorld& world) constFind
C++
const std::vector<uint8_t>* Find(int32_t tick) constGetChecksum
C++
bool GetChecksum(int32_t tick, uint64_t& outChecksum) constIsEmpty
C++
bool IsEmpty() constGetOldestTick
C++
int32_t GetOldestTick() constGetNewestTick
C++
int32_t GetNewestTick() constGetCount
C++
uint32_t GetCount() constGetBytes
C++
uint64_t GetBytes() constClear
C++
void Clear()Generated from Physics/PhysicsSnapshot.h via physics.json · Nov 4, 2026Version 1.0.0