GeometryMergePolygons2d Method |
Merges (combines) polygon_a and polygon_b and returns an array of merged polygons. This performs between polygons.
The operation may result in an outer polygon (boundary) and multiple inner polygons (holes) produced which could be distinguished by calling IsPolygonClockwise(Vector2).
Namespace: Godot
public static Array MergePolygons2d( Vector2[] polygonA, Vector2[] polygonB )
[Missing <param name="polygonA"/> documentation for "M:Godot.Geometry.MergePolygons2d(Godot.Vector2[],Godot.Vector2[])"]
[Missing <param name="polygonB"/> documentation for "M:Godot.Geometry.MergePolygons2d(Godot.Vector2[],Godot.Vector2[])"]
[Missing <returns> documentation for "M:Godot.Geometry.MergePolygons2d(Godot.Vector2[],Godot.Vector2[])"]