63 bool mIsValidating =
false;
Array< Ref< Constraint > > Constraints
A list of constraints.
Definition: ConstraintManager.h:21
std::uint8_t uint8
Definition: Core.h:440
#define JPH_EXPORT
Definition: Core.h:227
#define JPH_NAMESPACE_END
Definition: Core.h:367
#define JPH_NAMESPACE_BEGIN
Definition: Core.h:361
EStateRecorderState
A bit field that determines which aspects of the simulation to save.
Definition: StateRecorder.h:18
@ Bodies
Save the state of bodies.
@ Global
Save global physics system state (delta time, gravity, etc.)
@ Contacts
Save the state of contacts.
ID of a body. This is a way of reasoning about bodies in a multithreaded simulation while avoiding ra...
Definition: BodyID.h:13
Base class for all physics constraints. A constraint removes one or more degrees of freedom for a rig...
Definition: Constraint.h:103
User callbacks that allow determining which parts of the simulation should be saved by a StateRecorde...
Definition: StateRecorder.h:29
virtual bool ShouldSaveConstraint(const Constraint &inConstraint) const
If the state of a specific constraint should be saved.
Definition: StateRecorder.h:38
virtual bool ShouldSaveContact(const BodyID &inBody1, const BodyID &inBody2) const
If the state of a specific contact should be saved.
Definition: StateRecorder.h:41
virtual ~StateRecorderFilter()=default
Destructor.
virtual bool ShouldSaveBody(const Body &inBody) const
If the state of a specific body should be saved.
Definition: StateRecorder.h:35
Definition: StateRecorder.h:48
bool IsValidating() const
Definition: StateRecorder.h:60
StateRecorder(const StateRecorder &inRHS)
Definition: StateRecorder.h:52
void SetValidating(bool inValidating)
Definition: StateRecorder.h:59
StateRecorder()=default
Constructor.
Simple binary input stream.
Definition: StreamIn.h:13
Simple binary output stream.
Definition: StreamOut.h:13