Trade-offs and warnings
Consult the linked header for this operation’s ownership, lifetime and failure behavior.
EPOK RUNTIME
Method · 1 overload
Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.
Reports whether enabled as part of the world2d navigation module.
bool is_enabled() constReports whether enabled as part of the world2d navigation module.
This overload takes no parameters.
Returns: bool. Consult the linked header for its meaning.
#include "world2d_navigation.hpp"
epok::NavigationRegion2DComponent& object = /* obtain a valid instance */;
auto result = object.is_enabled();Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/world2d_navigation.hpp:435
~NavigationRegion2DComponentReleases the resources owned by `epok::NavigationRegion2DComponent`.destructorclass_idPerforms `class id` as part of the world2d navigation module.MethodcoversWhether the region is the one to plan from `p`: inside the grid, or on the mesh.Methodfind_pathFinds path as part of the world2d navigation module.Methodis_walkableWhether a world point is inside the region and free to walk on.Methodlevel_attachedPerforms `level attached` as part of the world2d navigation module.Methodset_enabledSets enabled as part of the world2d navigation module.Method