GeometryIntersectPolylineWithPolygon2d Method |
Intersects polyline with polygon and returns an array of intersected polylines. This performs between the polyline and the polygon. This operation can be thought of as chopping a line with a closed shape.
Namespace: Godot
public static Array IntersectPolylineWithPolygon2d( Vector2[] polyline, Vector2[] polygon )
[Missing <param name="polyline"/> documentation for "M:Godot.Geometry.IntersectPolylineWithPolygon2d(Godot.Vector2[],Godot.Vector2[])"]
[Missing <param name="polygon"/> documentation for "M:Godot.Geometry.IntersectPolylineWithPolygon2d(Godot.Vector2[],Godot.Vector2[])"]
[Missing <returns> documentation for "M:Godot.Geometry.IntersectPolylineWithPolygon2d(Godot.Vector2[],Godot.Vector2[])"]