Epok Engine

EPOK RUNTIME

epok::nav::bounds_actor

Variable

Variable

Exposes `bounds_actor` on the `epok::nav` namespace for the navigation components module.

Belongs to
epok::nav
Header
navigation_components.hpp

Declaration

Declaration
bool (*bounds_actor)(const ActorData &, Aabb &)

Exposes `bounds_actor` on the `epok::nav` namespace for the navigation components module.

Type
bool (*)(const ActorData &, Aabb &)
Storage
Namespace scope

Example

C++ example
#include "navigation_components.hpp"

auto callback = epok::nav::bounds_actor;

// Assign a function with the exact declared signature:
// epok::nav::bounds_actor = &myCallback;

When it helps

Use this member when you need direct access to the state represented by its declared type.

Trade-offs and warnings

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/navigation_components.hpp:8