From de66acc6243827d4b5543656ec588d841d8b7504 Mon Sep 17 00:00:00 2001 From: streq Date: Sun, 30 Oct 2022 20:32:36 -0300 Subject: [PATCH] clarify [member polygons] functionality in the Polygon2D class documentation --- doc/classes/Polygon2D.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/classes/Polygon2D.xml b/doc/classes/Polygon2D.xml index 12f805518098..a3fc3263516e 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. + 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.