EPOK RUNTIME
epok::NavigationRegion2DComponent
Class
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.
Class
---- NavigationRegion2D ------------------------------------------------------------------
Basic usage
This generated sketch illustrates syntax for reaching the type; adapt it to the actual API contract. Open a member below for an operation-specific example.
C++ example
#include "world2d_navigation.hpp"
epok::NavigationRegion2DComponent& value = /* obtain a valid instance from your game */;Fields and constants
enabledExposes `enabled` on `epok::NavigationRegion2DComponent` for the world2d navigation module.FieldgridExposes `grid` on `epok::NavigationRegion2DComponent` for the world2d navigation module.Fieldis_meshExposes `is_mesh` on `epok::NavigationRegion2DComponent` for the world2d navigation module.Fieldlink2dExposes `link2d` on `epok::NavigationRegion2DComponent` for the world2d navigation module.FieldmeshExposes `mesh` on `epok::NavigationRegion2DComponent` for the world2d navigation module.Fieldstatic_class_idExposes `static_class_id` on `epok::NavigationRegion2DComponent` for the world2d navigation module.VariablePublic methods
~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_enabledReports whether enabled 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