summaryrefslogtreecommitdiff
path: root/scene/2d/navigation_region_2d.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-06-20 15:13:33 +0200
committerGitHub <noreply@github.com>2022-06-20 15:13:33 +0200
commit21b0c7fc226ad9e9054e526656e9d63b09f4e010 (patch)
tree1825c93cb1b9f4f4877b2159df290ed1401759a4 /scene/2d/navigation_region_2d.h
parent3d49e89b9be366fd00414268b09911dd7dd76094 (diff)
parent55923ade68237ae6a344efe23c2656ed7ba976c2 (diff)
Merge pull request #62214 from smix8/navigation_layer_bitmask_helpers_4.x
Diffstat (limited to 'scene/2d/navigation_region_2d.h')
-rw-r--r--scene/2d/navigation_region_2d.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/scene/2d/navigation_region_2d.h b/scene/2d/navigation_region_2d.h
index 000cb32f95..3c9df91fe3 100644
--- a/scene/2d/navigation_region_2d.h
+++ b/scene/2d/navigation_region_2d.h
@@ -120,6 +120,9 @@ public:
void set_navigation_layers(uint32_t p_navigation_layers);
uint32_t get_navigation_layers() const;
+ void set_navigation_layer_value(int p_layer_number, bool p_value);
+ bool get_navigation_layer_value(int p_layer_number) const;
+
RID get_region_rid() const;
void set_enter_cost(real_t p_enter_cost);