summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorMarc Gilleron <marc.gilleron@gmail.com>2022-09-19 11:37:02 +0100
committerMarc Gilleron <marc.gilleron@gmail.com>2022-09-19 11:37:02 +0100
commit700bb066e0fbd6e24afcfde891481f728c364b48 (patch)
tree1a0cad575adf4fccf450fede280cde3d7857a029 /doc/classes
parent908795301b9e4fcf24b115329a48d7d295c13a1a (diff)
Use `Vector2i` when returning atlas size in `Geometry2D::make_atlas`
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/Geometry2D.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/Geometry2D.xml b/doc/classes/Geometry2D.xml
index 392ca2cabb..e613ab1a55 100644
--- a/doc/classes/Geometry2D.xml
+++ b/doc/classes/Geometry2D.xml
@@ -126,7 +126,7 @@
<return type="Dictionary" />
<param index="0" name="sizes" type="PackedVector2Array" />
<description>
- Given an array of [Vector2]s representing tiles, builds an atlas. The returned dictionary has two keys: [code]points[/code] is an array of [Vector2] that specifies the positions of each tile, [code]size[/code] contains the overall size of the whole atlas as [Vector2].
+ Given an array of [Vector2]s representing tiles, builds an atlas. The returned dictionary has two keys: [code]points[/code] is a [PackedVector2Array] that specifies the positions of each tile, [code]size[/code] contains the overall size of the whole atlas as [Vector2i].
</description>
</method>
<method name="merge_polygons">