diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-12-21 09:21:21 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-12-21 09:21:21 +0100 |
commit | 6b4a01f99ab8978ee115c13b4900a222e7b4e449 (patch) | |
tree | 703ab4c8fc3d5d2c83f97a0bad0efe7a9fce8f81 /modules/gridmap/grid_map.h | |
parent | 49ec96e3469043eaf664b55103013230a380e19a (diff) | |
parent | 61f33e205cecc923786fb646f6e325657751a3f5 (diff) |
Merge pull request #69351 from smix8/gridmap_item_navigation_layers_4.x
Change GridMap navigation_layers to per mesh_library item
Diffstat (limited to 'modules/gridmap/grid_map.h')
-rw-r--r-- | modules/gridmap/grid_map.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/modules/gridmap/grid_map.h b/modules/gridmap/grid_map.h index 59d2936f2c..2a9f34bdda 100644 --- a/modules/gridmap/grid_map.h +++ b/modules/gridmap/grid_map.h @@ -99,6 +99,7 @@ class GridMap : public Node3D { RID region; Transform3D xform; RID navigation_mesh_debug_instance; + uint32_t navigation_layers = 1; }; struct MultimeshInstance { @@ -255,12 +256,6 @@ public: void set_navigation_map(RID p_navigation_map); RID get_navigation_map() const; - 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; - void set_mesh_library(const Ref<MeshLibrary> &p_mesh_library); Ref<MeshLibrary> get_mesh_library() const; |