Click or drag to resize

GeometryClipPolygon Method

Clips the polygon defined by the points in points against the plane and returns the points of the clipped polygon.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static Vector3[] ClipPolygon(
	Vector3[] points,
	Plane plane
)

Parameters

points
Type: GodotVector3

[Missing <param name="points"/> documentation for "M:Godot.Geometry.ClipPolygon(Godot.Vector3[],Godot.Plane)"]

plane
Type: GodotPlane

[Missing <param name="plane"/> documentation for "M:Godot.Geometry.ClipPolygon(Godot.Vector3[],Godot.Plane)"]

Return Value

Type: Vector3

[Missing <returns> documentation for "M:Godot.Geometry.ClipPolygon(Godot.Vector3[],Godot.Plane)"]

See Also