Click or drag to resize

PlaneIntersectSegment Method

Returns the intersection point of a line segment from position `begin` to position `end` with this plane. If no intersection is found, `null` is returned.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Vector3? IntersectSegment(
	Vector3 begin,
	Vector3 end
)

Parameters

begin
Type: GodotVector3
The start of the line segment.
end
Type: GodotVector3
The end of the line segment.

Return Value

Type: NullableVector3
The intersection, or `null` if none is found.
See Also