Version: 2017.1

HandleUtility.ProjectPointLine

Switch to Manual
public static Vector3 ProjectPointLine (Vector3 point, Vector3 lineStart, Vector3 lineEnd);

Description

Project point onto a line.

See Also: DistancePointLine. See Also: PointOnLineParameter.