diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-01-27 15:40:52 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-01-27 15:40:52 +0100 |
commit | 525db733c8e669b378e7eacb06214debbf6af616 (patch) | |
tree | af996e0b25762cb716eb48b5b0a4cac309fa1a25 /doc/classes | |
parent | f0e3c3f4c398f25ad5d9f9133c0ff6162e6716ad (diff) | |
parent | d7f3bd50bd20fddb7c387a30339c6a112911ec1c (diff) |
Merge pull request #72129 from groud/unclamp_texture_origin
Rename texture_offset and unclamp it
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/TileData.xml | 2 | ||||
-rw-r--r-- | doc/classes/TileMap.xml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/TileData.xml b/doc/classes/TileData.xml index f815b8d0c3..bedc52abd1 100644 --- a/doc/classes/TileData.xml +++ b/doc/classes/TileData.xml @@ -218,7 +218,7 @@ <member name="terrain_set" type="int" setter="set_terrain_set" getter="get_terrain_set" default="-1"> ID of the terrain set that the tile uses. </member> - <member name="texture_offset" type="Vector2i" setter="set_texture_offset" getter="get_texture_offset" default="Vector2i(0, 0)"> + <member name="texture_origin" type="Vector2i" setter="set_texture_origin" getter="get_texture_origin" default="Vector2i(0, 0)"> Offsets the position of where the tile is drawn. </member> <member name="transpose" type="bool" setter="set_transpose" getter="get_transpose" default="false"> diff --git a/doc/classes/TileMap.xml b/doc/classes/TileMap.xml index 2fd42666b4..c387bd435b 100644 --- a/doc/classes/TileMap.xml +++ b/doc/classes/TileMap.xml @@ -251,7 +251,7 @@ <param index="0" name="map_position" type="Vector2i" /> <description> Returns the centered position of a cell in the TileMap's local coordinate space. To convert the returned value into global coordinates, use [method Node2D.to_global]. See also [method local_to_map]. - [b]Note:[/b] This may not correspond to the visual position of the tile, i.e. it ignores the [member TileData.texture_offset] property of individual tiles. + [b]Note:[/b] This may not correspond to the visual position of the tile, i.e. it ignores the [member TileData.texture_origin] property of individual tiles. </description> </method> <method name="move_layer"> |