|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Set of boolean properties of an object. More...
#include <GREM/physics/objects.hpp>
Public Member Functions | |
| constexpr bool | operator== (const ObjectFlags &other) const noexcept=default |
| Compare these flags to another set of flags for equality. | |
Public Attributes | |
| bool | emitsCollisionEvents: 1 |
| Emit collision events. | |
| bool | emitsSeparationEvents: 1 |
| Emit separation events. | |
| bool | enableResting: 1 |
| Decay the object's velocity towards 0 on when below the resting threshold. | |
Set of boolean properties of an object.
|
nodiscardconstexprdefaultnoexcept |
Compare these flags to another set of flags for equality.
| other | the flags to compare these to. |
| bool grem::physics::ObjectFlags::emitsCollisionEvents |
Emit collision events.
| bool grem::physics::ObjectFlags::emitsSeparationEvents |
Emit separation events.
| bool grem::physics::ObjectFlags::enableResting |
Decay the object's velocity towards 0 on when below the resting threshold.