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