Expose is_baking method in navigation servers and region nodes.

This commit is contained in:
Pawel Lampe
2024-01-29 22:28:01 +01:00
parent 4b6ad34988
commit c2cfc0d409
24 changed files with 137 additions and 12 deletions

View File

@ -167,6 +167,7 @@ public:
void parse_source_geometry_data(const Ref<NavigationPolygon> &p_navigation_mesh, const Ref<NavigationMeshSourceGeometryData2D> &p_source_geometry_data, Node *p_root_node, const Callable &p_callback = Callable()) override {}
void bake_from_source_geometry_data(const Ref<NavigationPolygon> &p_navigation_mesh, const Ref<NavigationMeshSourceGeometryData2D> &p_source_geometry_data, const Callable &p_callback = Callable()) override {}
void bake_from_source_geometry_data_async(const Ref<NavigationPolygon> &p_navigation_mesh, const Ref<NavigationMeshSourceGeometryData2D> &p_source_geometry_data, const Callable &p_callback = Callable()) override {}
bool is_baking_navigation_polygon(Ref<NavigationPolygon> p_navigation_polygon) const override { return false; }
void set_debug_enabled(bool p_enabled) {}
bool get_debug_enabled() const { return false; }