GeometryExcludePolygons2d Method |
Mutually excludes common area defined by intersection of polygon_a and polygon_b (see IntersectPolygons2d(Vector2, Vector2)) and returns an array of excluded polygons. This performs between polygons. In other words, returns all but common area between polygons.
The operation may result in an outer polygon (boundary) and inner polygon (hole) produced which could be distinguished by calling IsPolygonClockwise(Vector2).
Namespace: Godot
public static Array ExcludePolygons2d( Vector2[] polygonA, Vector2[] polygonB )
[Missing <param name="polygonA"/> documentation for "M:Godot.Geometry.ExcludePolygons2d(Godot.Vector2[],Godot.Vector2[])"]
[Missing <param name="polygonB"/> documentation for "M:Godot.Geometry.ExcludePolygons2d(Godot.Vector2[],Godot.Vector2[])"]
[Missing <returns> documentation for "M:Godot.Geometry.ExcludePolygons2d(Godot.Vector2[],Godot.Vector2[])"]