When it helps
Use this member when you need direct access to the state represented by its declared type.
EPOK RUNTIME
Field
Exposes `generation` on `epok::MoveResultT` for bounded AABB collision queries and movement.
uint32_t generationExposes `generation` on `epok::MoveResultT` for bounded AABB collision queries and movement.
#include "collision.hpp"
epok::MoveResultT& object = /* obtain a valid instance */;
auto value = object.generation;
// When mutation is valid for this object:
// object.generation = replacement;Use this member when you need direct access to the state represented by its declared type.
Direct field access has no validation step. Keep the owning object alive, respect units and ranges, and do not mutate state while hardware or another subsystem is consuming it.
Declared in runtime/collision.hpp:41