1 #ifndef NAVIGATION_MESH_H 2 #define NAVIGATION_MESH_H 4 #include "scene/3d/spatial.h" 5 #include "scene/resources/mesh.h" 25 bool operator<(
const _EdgeKey& p_with)
const {
return from==p_with.from ? to < p_with.to : from < p_with.from; }
31 static void _bind_methods();
33 void _set_polygons(
const Array& p_array);
34 Array _get_polygons()
const;
38 void create_from_mesh(
const Ref<Mesh>& p_mesh);
44 int get_polygon_count()
const;
46 void clear_polygons();
69 void _notification(
int p_what);
70 static void _bind_methods();
75 void set_enabled(
bool p_enabled);
76 bool is_enabled()
const;
85 #endif // NAVIGATION_MESH_H
Definition: navigation_mesh.h:56
Definition: resource.h:89
Definition: navigation_mesh.h:9
Definition: navigation.h:7