You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-16 14:00:40 +00:00
Merge pull request #64496 from KoBeWi/proxXxies
Use false as default for use_proxies argument
This commit is contained in:
@@ -84,7 +84,7 @@
|
|||||||
<return type="int" />
|
<return type="int" />
|
||||||
<param index="0" name="layer" type="int" />
|
<param index="0" name="layer" type="int" />
|
||||||
<param index="1" name="coords" type="Vector2i" />
|
<param index="1" name="coords" type="Vector2i" />
|
||||||
<param index="2" name="use_proxies" type="bool" />
|
<param index="2" name="use_proxies" type="bool" default="false" />
|
||||||
<description>
|
<description>
|
||||||
Returns the tile alternative ID of the cell on layer [param layer] at [param coords]. If [param use_proxies] is [code]false[/code], ignores the [TileSet]'s tile proxies, returning the raw alternative identifier. See [method TileSet.map_tile_proxy].
|
Returns the tile alternative ID of the cell on layer [param layer] at [param coords]. If [param use_proxies] is [code]false[/code], ignores the [TileSet]'s tile proxies, returning the raw alternative identifier. See [method TileSet.map_tile_proxy].
|
||||||
</description>
|
</description>
|
||||||
@@ -93,7 +93,7 @@
|
|||||||
<return type="Vector2i" />
|
<return type="Vector2i" />
|
||||||
<param index="0" name="layer" type="int" />
|
<param index="0" name="layer" type="int" />
|
||||||
<param index="1" name="coords" type="Vector2i" />
|
<param index="1" name="coords" type="Vector2i" />
|
||||||
<param index="2" name="use_proxies" type="bool" />
|
<param index="2" name="use_proxies" type="bool" default="false" />
|
||||||
<description>
|
<description>
|
||||||
Returns the tile atlas coordinates ID of the cell on layer [param layer] at coordinates [param coords]. If [param use_proxies] is [code]false[/code], ignores the [TileSet]'s tile proxies, returning the raw alternative identifier. See [method TileSet.map_tile_proxy].
|
Returns the tile atlas coordinates ID of the cell on layer [param layer] at coordinates [param coords]. If [param use_proxies] is [code]false[/code], ignores the [TileSet]'s tile proxies, returning the raw alternative identifier. See [method TileSet.map_tile_proxy].
|
||||||
</description>
|
</description>
|
||||||
@@ -102,7 +102,7 @@
|
|||||||
<return type="int" />
|
<return type="int" />
|
||||||
<param index="0" name="layer" type="int" />
|
<param index="0" name="layer" type="int" />
|
||||||
<param index="1" name="coords" type="Vector2i" />
|
<param index="1" name="coords" type="Vector2i" />
|
||||||
<param index="2" name="use_proxies" type="bool" />
|
<param index="2" name="use_proxies" type="bool" default="false" />
|
||||||
<description>
|
<description>
|
||||||
Returns the tile source ID of the cell on layer [param layer] at coordinates [param coords]. If [param use_proxies] is [code]false[/code], ignores the [TileSet]'s tile proxies, returning the raw alternative identifier. See [method TileSet.map_tile_proxy].
|
Returns the tile source ID of the cell on layer [param layer] at coordinates [param coords]. If [param use_proxies] is [code]false[/code], ignores the [TileSet]'s tile proxies, returning the raw alternative identifier. See [method TileSet.map_tile_proxy].
|
||||||
</description>
|
</description>
|
||||||
|
|||||||
@@ -3858,9 +3858,9 @@ void TileMap::_bind_methods() {
|
|||||||
|
|
||||||
ClassDB::bind_method(D_METHOD("set_cell", "layer", "coords", "source_id", "atlas_coords", "alternative_tile"), &TileMap::set_cell, DEFVAL(TileSet::INVALID_SOURCE), DEFVAL(TileSetSource::INVALID_ATLAS_COORDS), DEFVAL(0));
|
ClassDB::bind_method(D_METHOD("set_cell", "layer", "coords", "source_id", "atlas_coords", "alternative_tile"), &TileMap::set_cell, DEFVAL(TileSet::INVALID_SOURCE), DEFVAL(TileSetSource::INVALID_ATLAS_COORDS), DEFVAL(0));
|
||||||
ClassDB::bind_method(D_METHOD("erase_cell", "layer", "coords"), &TileMap::erase_cell);
|
ClassDB::bind_method(D_METHOD("erase_cell", "layer", "coords"), &TileMap::erase_cell);
|
||||||
ClassDB::bind_method(D_METHOD("get_cell_source_id", "layer", "coords", "use_proxies"), &TileMap::get_cell_source_id);
|
ClassDB::bind_method(D_METHOD("get_cell_source_id", "layer", "coords", "use_proxies"), &TileMap::get_cell_source_id, DEFVAL(false));
|
||||||
ClassDB::bind_method(D_METHOD("get_cell_atlas_coords", "layer", "coords", "use_proxies"), &TileMap::get_cell_atlas_coords);
|
ClassDB::bind_method(D_METHOD("get_cell_atlas_coords", "layer", "coords", "use_proxies"), &TileMap::get_cell_atlas_coords, DEFVAL(false));
|
||||||
ClassDB::bind_method(D_METHOD("get_cell_alternative_tile", "layer", "coords", "use_proxies"), &TileMap::get_cell_alternative_tile);
|
ClassDB::bind_method(D_METHOD("get_cell_alternative_tile", "layer", "coords", "use_proxies"), &TileMap::get_cell_alternative_tile, DEFVAL(false));
|
||||||
ClassDB::bind_method(D_METHOD("get_cell_tile_data", "layer", "coords", "use_proxies"), &TileMap::get_cell_tile_data, DEFVAL(false));
|
ClassDB::bind_method(D_METHOD("get_cell_tile_data", "layer", "coords", "use_proxies"), &TileMap::get_cell_tile_data, DEFVAL(false));
|
||||||
|
|
||||||
ClassDB::bind_method(D_METHOD("get_coords_for_body_rid", "body"), &TileMap::get_coords_for_body_rid);
|
ClassDB::bind_method(D_METHOD("get_coords_for_body_rid", "body"), &TileMap::get_coords_for_body_rid);
|
||||||
|
|||||||
Reference in New Issue
Block a user