diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-06-01 12:51:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-01 12:51:28 +0200 |
commit | 0286495f594bd926c9183811271de17ba3452725 (patch) | |
tree | e0457ac6909e60d7cbb9513b50544c84465f822f /doc/classes | |
parent | 4c1d555b9a07fa40d7e9237557d8762b3f22d5d5 (diff) | |
parent | 3b35733b4ce55567b9b9d0ff973ee893c93e1d0b (diff) |
Merge pull request #49024 from groud/restore_tilemap_show_debug
Restore TileMap's debug collision shapes and add navigation.
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/TileMap.xml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/classes/TileMap.xml b/doc/classes/TileMap.xml index fd52a28486..93d5dd8037 100644 --- a/doc/classes/TileMap.xml +++ b/doc/classes/TileMap.xml @@ -132,6 +132,10 @@ <member name="cell_quadrant_size" type="int" setter="set_quadrant_size" getter="get_quadrant_size" default="16"> The TileMap's quadrant size. Optimizes drawing by batching, using chunks of this size. </member> + <member name="show_collision" type="int" setter="set_collision_visibility_mode" getter="get_collision_visibility_mode" enum="TileMap.VisibilityMode" default="0"> + </member> + <member name="show_navigation" type="int" setter="set_navigation_visibility_mode" getter="get_navigation_visibility_mode" enum="TileMap.VisibilityMode" default="0"> + </member> <member name="tile_set" type="TileSet" setter="set_tileset" getter="get_tileset"> The assigned [TileSet]. </member> @@ -144,5 +148,11 @@ </signal> </signals> <constants> + <constant name="VISIBILITY_MODE_DEFAULT" value="0" enum="VisibilityMode"> + </constant> + <constant name="VISIBILITY_MODE_FORCE_HIDE" value="2" enum="VisibilityMode"> + </constant> + <constant name="VISIBILITY_MODE_FORCE_SHOW" value="1" enum="VisibilityMode"> + </constant> </constants> </class> |