Version: 2017.3

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.