summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-10-31 11:00:12 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-10-31 11:00:12 +0100
commit51cd380167a04afd0cb94dfa176cd3f9765eddb9 (patch)
tree7e403118220d719fb14181ff22ce9a04921a84c4 /doc
parent213ba466727d00c5a70438b638ca03b2f83c6437 (diff)
parentde66acc6243827d4b5543656ec588d841d8b7504 (diff)
Merge pull request #64659 from Streq/patch-1
add polygons property description in Polygon2D
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/Polygon2D.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/Polygon2D.xml b/doc/classes/Polygon2D.xml
index 12f8055180..a3fc326351 100644
--- a/doc/classes/Polygon2D.xml
+++ b/doc/classes/Polygon2D.xml
@@ -92,6 +92,7 @@
[b]Note:[/b] This returns a copy of the [PackedVector2Array] rather than a reference.
</member>
<member name="polygons" type="Array" setter="set_polygons" getter="get_polygons" default="[]">
+ The list of polygons, in case more than one is being represented. Every individual polygon is stored as a [PackedInt32Array] where each [int] is an index to a point in [member polygon]. If empty, this property will be ignored, and the resulting single polygon will be composed of all points in [member polygon], using the order they are stored in.
</member>
<member name="skeleton" type="NodePath" setter="set_skeleton" getter="get_skeleton" default="NodePath(&quot;&quot;)">
</member>