Version: 2017.1

HandleUtility.DistancePointLine

切换到手册
public static float DistancePointLine (Vector3 point, Vector3 lineStart, Vector3 lineEnd);

描述

计算点与线之间的距离。

另请参阅:ProjectPointLine