diff options
author | streq <strequena@gmail.com> | 2022-10-30 20:32:36 -0300 |
---|---|---|
committer | streq <strequena@gmail.com> | 2022-10-30 20:32:36 -0300 |
commit | de66acc6243827d4b5543656ec588d841d8b7504 (patch) | |
tree | 17827b2b214c92f43ccdc3f045e6cef4a351d675 | |
parent | ad3f2a234082f0d62820094199c05855115c1341 (diff) |
clarify [member polygons] functionality in the Polygon2D class documentation
-rw-r--r-- | doc/classes/Polygon2D.xml | 1 |
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("")"> </member> |