summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorMansur Isaev <737dab2f169a@mail.ru>2022-09-19 14:09:56 +0400
committerMansur Isaev <737dab2f169a@mail.ru>2022-09-21 09:40:03 +0400
commit623e23c6254b26cdb50434c2ee7941e2f9acb181 (patch)
tree8096bd6becae9ff3fcc780014987168b2f7ee4da /doc/classes
parentc8a0912f3647367d8cee5216f50c28a93e9ffdb5 (diff)
Add method bind for `Geometry2D.decompose_polygon_in_convex`
Diffstat (limited to 'doc/classes')
-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" />