HandleUtility.PointOnLineParameter

Switch to Manual
public static float PointOnLineParameter (Vector3 point, Vector3 linePoint, Vector3 lineDirection);

Description

返回给定线上 point 投影的参数。

如果投影点在相对于 linePointlineDirection 上为负值,则返回值可以为负数 另请参阅:ProjectPointLine