Vector2IntRange.InverseLerp
Method in Vector2IntRange
Implements INumberRange<T>.InverseLerp
Declaration
public float InverseLerp(Vector2Int value)
Description
Calculates the linear parameter t that produces the interpolant value within the range.
Parameters
value | The value within the range you want to calculate. |
Returns
float | The interpolant value between [0..1]. |