1 #ifndef NAVIGATION_POLYGON_H 2 #define NAVIGATION_POLYGON_H 4 #include "scene/2d/node_2d.h" 20 static void _bind_methods();
22 void _set_polygons(
const Array& p_array);
23 Array _get_polygons()
const;
25 void _set_outlines(
const Array& p_array);
26 Array _get_outlines()
const;
36 int get_polygon_count()
const;
42 void remove_outline(
int p_idx);
43 int get_outline_count()
const;
45 void clear_outlines();
46 void make_polygons_from_outlines();
49 void clear_polygons();
66 void _navpoly_changed();
70 void _notification(
int p_what);
71 static void _bind_methods();
74 void set_enabled(
bool p_enabled);
75 bool is_enabled()
const;
84 #endif // NAVIGATIONPOLYGON_H
Definition: navigation_polygon.h:57
Definition: navigation2d.h:7
Definition: resource.h:89
Definition: navigation_polygon.h:7