![]() |
Jolt Physics
A multi core friendly Game Physics Engine
|
User callbacks that allow determining which parts of the simulation should be saved by a StateRecorder. More...
#include <StateRecorder.h>
Public Member Functions | |
| virtual | ~StateRecorderFilter ()=default |
| Destructor. | |
Functions called during SaveState | |
| virtual bool | ShouldSaveBody (const Body &inBody) const |
| If the state of a specific body should be saved. | |
| virtual bool | ShouldSaveConstraint (const Constraint &inConstraint) const |
| If the state of a specific constraint should be saved. | |
| virtual bool | ShouldSaveContact (const BodyID &inBody1, const BodyID &inBody2) const |
| If the state of a specific contact should be saved. | |
Functions called during RestoreState | |
| virtual bool | ShouldRestoreContact (const BodyID &inBody1, const BodyID &inBody2) const |
| If the state of a specific contact should be restored. | |
User callbacks that allow determining which parts of the simulation should be saved by a StateRecorder.
|
virtualdefault |
Destructor.
|
inlinevirtual |
If the state of a specific contact should be restored.
|
inlinevirtual |
If the state of a specific body should be saved.
|
inlinevirtual |
If the state of a specific constraint should be saved.
|
inlinevirtual |
If the state of a specific contact should be saved.