Function VectorMath.ClosestPointOnLineFactor

ClosestPointOnLineFactor (Int3 lineStart, Int3 lineEnd, Int3 point)

Factor along the line which is closest to the point.

Public Static
ClosestPointOnLineFactor (Vector2Int lineStart, Vector2Int lineEnd, Vector2Int point)

Factor of the nearest point on the segment.

Public Static
ClosestPointOnLineFactor (Vector3 lineStart, Vector3 lineEnd, Vector3 point)

Factor along the line which is closest to the point.

Public Static
ClosestPointOnLineFactor (float3 lineStart, float3 lineEnd, float3 point)

Factor along the line which is closest to the point.

Public Static