Version: 2017.3

HandleUtility.PointOnLineParameter

Cambiar al Manual
public static float PointOnLineParameter (Vector3 point, Vector3 linePoint, Vector3 lineDirection);

Descripción

Returns the parameter for the projection of the point on the given line.

The return value can be negative if the projected point is in negative lineDirection relative to the linePoint/ See Also: ProjectPointLine.