HandleUtility.PointOnLineParameter

Declaration

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

Description

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/ Additional resources: ProjectPointLine.


Did you find this page useful? Please give it a rating: