mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
classref: Sync with current master branch (705b7a0)
This commit is contained in:
@@ -66,7 +66,7 @@ Method Descriptions
|
||||
|
||||
.. rst-class:: classref-method
|
||||
|
||||
:ref:`int<class_int>` **get_cell_alternative_tile**\ (\ coords\: :ref:`Vector2i<class_Vector2i>`\ ) |const|
|
||||
:ref:`int<class_int>` **get_cell_alternative_tile**\ (\ coords\: :ref:`Vector2i<class_Vector2i>`\ ) |const| :ref:`🔗<class_TileMapPattern_method_get_cell_alternative_tile>`
|
||||
|
||||
Returns the tile alternative ID of the cell at ``coords``.
|
||||
|
||||
@@ -78,7 +78,7 @@ Returns the tile alternative ID of the cell at ``coords``.
|
||||
|
||||
.. rst-class:: classref-method
|
||||
|
||||
:ref:`Vector2i<class_Vector2i>` **get_cell_atlas_coords**\ (\ coords\: :ref:`Vector2i<class_Vector2i>`\ ) |const|
|
||||
:ref:`Vector2i<class_Vector2i>` **get_cell_atlas_coords**\ (\ coords\: :ref:`Vector2i<class_Vector2i>`\ ) |const| :ref:`🔗<class_TileMapPattern_method_get_cell_atlas_coords>`
|
||||
|
||||
Returns the tile atlas coordinates ID of the cell at ``coords``.
|
||||
|
||||
@@ -90,7 +90,7 @@ Returns the tile atlas coordinates ID of the cell at ``coords``.
|
||||
|
||||
.. rst-class:: classref-method
|
||||
|
||||
:ref:`int<class_int>` **get_cell_source_id**\ (\ coords\: :ref:`Vector2i<class_Vector2i>`\ ) |const|
|
||||
:ref:`int<class_int>` **get_cell_source_id**\ (\ coords\: :ref:`Vector2i<class_Vector2i>`\ ) |const| :ref:`🔗<class_TileMapPattern_method_get_cell_source_id>`
|
||||
|
||||
Returns the tile source ID of the cell at ``coords``.
|
||||
|
||||
@@ -102,7 +102,7 @@ Returns the tile source ID of the cell at ``coords``.
|
||||
|
||||
.. rst-class:: classref-method
|
||||
|
||||
:ref:`Vector2i<class_Vector2i>` **get_size**\ (\ ) |const|
|
||||
:ref:`Vector2i<class_Vector2i>` **get_size**\ (\ ) |const| :ref:`🔗<class_TileMapPattern_method_get_size>`
|
||||
|
||||
Returns the size, in cells, of the pattern.
|
||||
|
||||
@@ -114,7 +114,7 @@ Returns the size, in cells, of the pattern.
|
||||
|
||||
.. rst-class:: classref-method
|
||||
|
||||
:ref:`Array<class_Array>`\[:ref:`Vector2i<class_Vector2i>`\] **get_used_cells**\ (\ ) |const|
|
||||
:ref:`Array<class_Array>`\[:ref:`Vector2i<class_Vector2i>`\] **get_used_cells**\ (\ ) |const| :ref:`🔗<class_TileMapPattern_method_get_used_cells>`
|
||||
|
||||
Returns the list of used cell coordinates in the pattern.
|
||||
|
||||
@@ -126,7 +126,7 @@ Returns the list of used cell coordinates in the pattern.
|
||||
|
||||
.. rst-class:: classref-method
|
||||
|
||||
:ref:`bool<class_bool>` **has_cell**\ (\ coords\: :ref:`Vector2i<class_Vector2i>`\ ) |const|
|
||||
:ref:`bool<class_bool>` **has_cell**\ (\ coords\: :ref:`Vector2i<class_Vector2i>`\ ) |const| :ref:`🔗<class_TileMapPattern_method_has_cell>`
|
||||
|
||||
Returns whether the pattern has a tile at the given coordinates.
|
||||
|
||||
@@ -138,7 +138,7 @@ Returns whether the pattern has a tile at the given coordinates.
|
||||
|
||||
.. rst-class:: classref-method
|
||||
|
||||
:ref:`bool<class_bool>` **is_empty**\ (\ ) |const|
|
||||
:ref:`bool<class_bool>` **is_empty**\ (\ ) |const| :ref:`🔗<class_TileMapPattern_method_is_empty>`
|
||||
|
||||
Returns whether the pattern is empty or not.
|
||||
|
||||
@@ -150,7 +150,7 @@ Returns whether the pattern is empty or not.
|
||||
|
||||
.. rst-class:: classref-method
|
||||
|
||||
|void| **remove_cell**\ (\ coords\: :ref:`Vector2i<class_Vector2i>`, update_size\: :ref:`bool<class_bool>`\ )
|
||||
|void| **remove_cell**\ (\ coords\: :ref:`Vector2i<class_Vector2i>`, update_size\: :ref:`bool<class_bool>`\ ) :ref:`🔗<class_TileMapPattern_method_remove_cell>`
|
||||
|
||||
Remove the cell at the given coordinates.
|
||||
|
||||
@@ -162,7 +162,7 @@ Remove the cell at the given coordinates.
|
||||
|
||||
.. rst-class:: classref-method
|
||||
|
||||
|void| **set_cell**\ (\ coords\: :ref:`Vector2i<class_Vector2i>`, source_id\: :ref:`int<class_int>` = -1, atlas_coords\: :ref:`Vector2i<class_Vector2i>` = Vector2i(-1, -1), alternative_tile\: :ref:`int<class_int>` = -1\ )
|
||||
|void| **set_cell**\ (\ coords\: :ref:`Vector2i<class_Vector2i>`, source_id\: :ref:`int<class_int>` = -1, atlas_coords\: :ref:`Vector2i<class_Vector2i>` = Vector2i(-1, -1), alternative_tile\: :ref:`int<class_int>` = -1\ ) :ref:`🔗<class_TileMapPattern_method_set_cell>`
|
||||
|
||||
Sets the tile identifiers for the cell at coordinates ``coords``. See :ref:`TileMap.set_cell<class_TileMap_method_set_cell>`.
|
||||
|
||||
@@ -174,7 +174,7 @@ Sets the tile identifiers for the cell at coordinates ``coords``. See :ref:`Tile
|
||||
|
||||
.. rst-class:: classref-method
|
||||
|
||||
|void| **set_size**\ (\ size\: :ref:`Vector2i<class_Vector2i>`\ )
|
||||
|void| **set_size**\ (\ size\: :ref:`Vector2i<class_Vector2i>`\ ) :ref:`🔗<class_TileMapPattern_method_set_size>`
|
||||
|
||||
Sets the size of the pattern.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user