From 17989ca8efbfeffd206dd28ddc4884652fd47e73 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 (cherry picked from commit de66acc6243827d4b5543656ec588d841d8b7504) --- doc/classes/Polygon2D.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/classes/Polygon2D.xml b/doc/classes/Polygon2D.xml index e7db57791..0d3eb3d24 100644 --- a/doc/classes/Polygon2D.xml +++ b/doc/classes/Polygon2D.xml @@ -94,6 +94,7 @@ [b]Note:[/b] This returns a copy of the [PoolVector2Array] rather than a reference. + The list of polygons, in case more than one is being represented. Every individual polygon is stored as a [PoolIntArray] 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.