summaryrefslogtreecommitdiff
path: root/doc/classes/Geometry2D.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/Geometry2D.xml')
-rw-r--r--doc/classes/Geometry2D.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/classes/Geometry2D.xml b/doc/classes/Geometry2D.xml
index e613ab1a55..0142018f1a 100644
--- a/doc/classes/Geometry2D.xml
+++ b/doc/classes/Geometry2D.xml
@@ -33,6 +33,13 @@
Given an array of [Vector2]s, returns the convex hull as a list of points in counterclockwise order. The last point is the same as the first one.
</description>
</method>
+ <method name="decompose_polygon_in_convex">
+ <return type="PackedVector2Array[]" />
+ <param index="0" name="polygon" type="PackedVector2Array" />
+ <description>
+ Decomposes the [param polygon] into multiple convex hulls and returns an array of [PackedVector2Array].
+ </description>
+ </method>
<method name="exclude_polygons">
<return type="PackedVector2Array[]" />
<param index="0" name="polygon_a" type="PackedVector2Array" />