|
Rapier C — 2D / f64 0.36.0+c.0
|
Copyable non-owning handle: world pointer plus entity index and generation. More...
#include <rapier.h>
Data Fields | |
| struct R2World * | world |
| Borrowed owning world. | |
| uint32_t | index |
| Zero-based element index. | |
| uint32_t | generation |
| Slot generation used to reject stale handles. | |
Copyable non-owning handle: world pointer plus entity index and generation.
The world must remain alive throughout every use. Copying does not retain it. UINT32_MAX/UINT32_MAX with a NULL world is invalid.
| uint32_t R2MultibodyJointHandle::generation |
Slot generation used to reject stale handles.
Do not modify it.
| uint32_t R2MultibodyJointHandle::index |
Zero-based element index.
| struct R2World* R2MultibodyJointHandle::world |
Borrowed owning world.
Never use this handle after freeing that world.