mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Fix many untagged true/false/null in the documentation
This commit is contained in:
@@ -380,7 +380,7 @@
|
||||
<param index="4" name="ignore_empty_terrains" type="bool" default="true" />
|
||||
<description>
|
||||
Update all the cells in the [param cells] coordinates array so that they use the given [param terrain] for the given [param terrain_set]. If an updated cell has the same terrain as one of its neighboring cells, this function tries to join the two. This function might update neighboring tiles if needed to create correct terrain transitions.
|
||||
If [param ignore_empty_terrains] is true, empty terrains will be ignored when trying to find the best fitting tile for the given terrain constraints.
|
||||
If [param ignore_empty_terrains] is [code]true[/code], empty terrains will be ignored when trying to find the best fitting tile for the given terrain constraints.
|
||||
If [param layer] is negative, the layers are accessed from the last one.
|
||||
[b]Note:[/b] To work correctly, this method requires the TileMap's TileSet to have terrains set up with all required terrain combinations. Otherwise, it may produce unexpected results.
|
||||
</description>
|
||||
@@ -394,7 +394,7 @@
|
||||
<param index="4" name="ignore_empty_terrains" type="bool" default="true" />
|
||||
<description>
|
||||
Update all the cells in the [param path] coordinates array so that they use the given [param terrain] for the given [param terrain_set]. The function will also connect two successive cell in the path with the same terrain. This function might update neighboring tiles if needed to create correct terrain transitions.
|
||||
If [param ignore_empty_terrains] is true, empty terrains will be ignored when trying to find the best fitting tile for the given terrain constraints.
|
||||
If [param ignore_empty_terrains] is [code]true[/code], empty terrains will be ignored when trying to find the best fitting tile for the given terrain constraints.
|
||||
If [param layer] is negative, the layers are accessed from the last one.
|
||||
[b]Note:[/b] To work correctly, this method requires the TileMap's TileSet to have terrains set up with all required terrain combinations. Otherwise, it may produce unexpected results.
|
||||
</description>
|
||||
|
||||
Reference in New Issue
Block a user