Merge pull request #69351 from smix8/gridmap_item_navigation_layers_4.x
Change GridMap navigation_layers to per mesh_library item
This commit is contained in:
commit
6b4a01f99a
6 changed files with 44 additions and 61 deletions
|
|
@ -59,6 +59,13 @@
|
|||
Returns the item's name.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_item_navigation_layers" qualifiers="const">
|
||||
<return type="int" />
|
||||
<param index="0" name="id" type="int" />
|
||||
<description>
|
||||
Returns the item's navigation layers bitmask.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_item_navigation_mesh" qualifiers="const">
|
||||
<return type="NavigationMesh" />
|
||||
<param index="0" name="id" type="int" />
|
||||
|
|
@ -126,6 +133,14 @@
|
|||
This name is shown in the editor. It can also be used to look up the item later using [method find_item_by_name].
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_item_navigation_layers">
|
||||
<return type="void" />
|
||||
<param index="0" name="id" type="int" />
|
||||
<param index="1" name="navigation_layers" type="int" />
|
||||
<description>
|
||||
Sets the item's navigation layers bitmask.
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_item_navigation_mesh">
|
||||
<return type="void" />
|
||||
<param index="0" name="id" type="int" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue