GeometryGetClosestPointToSegmentUncapped Method |
Returns the 3D point on the 3D line defined by (s1, s2) that is closest to point. The returned point can be inside the segment (s1, s2) or outside of it, i.e. somewhere on the line extending from the segment.
Namespace: Godot
public static Vector3 GetClosestPointToSegmentUncapped( Vector3 point, Vector3 s1, Vector3 s2 )
[Missing <param name="point"/> documentation for "M:Godot.Geometry.GetClosestPointToSegmentUncapped(Godot.Vector3,Godot.Vector3,Godot.Vector3)"]
[Missing <param name="s1"/> documentation for "M:Godot.Geometry.GetClosestPointToSegmentUncapped(Godot.Vector3,Godot.Vector3,Godot.Vector3)"]
[Missing <param name="s2"/> documentation for "M:Godot.Geometry.GetClosestPointToSegmentUncapped(Godot.Vector3,Godot.Vector3,Godot.Vector3)"]
[Missing <returns> documentation for "M:Godot.Geometry.GetClosestPointToSegmentUncapped(Godot.Vector3,Godot.Vector3,Godot.Vector3)"]