Version: 2017.1

HandleUtility.DistancePointLine

Cambiar al Manual
public static float DistancePointLine (Vector3 point, Vector3 lineStart, Vector3 lineEnd);

Descripción

Calculate distance between a point and a line.

See Also: ProjectPointLine.