GetClosestParam

GetClosestParam(Vector2, float)

public float GetClosestParam(Vector2 pos, float thresholdT) ;

Description

Get a closest point on the Bezier curve.

Parameters

Parameter Name Description
pos position
thresholdT threshold of closest param.

Returns

Closest param