Version: 2021.1

HandleUtility.DistancePointBezier

切换到手册
public static float DistancePointBezier (Vector3 point, Vector3 startPosition, Vector3 endPosition, Vector3 startTangent, Vector3 endTangent);

描述

计算点与贝塞尔曲线之间的距离。

另请参阅:Handles.DrawBezier 函数。