Vector3Range.InverseLerp

Method in Vector3Range

Declaration

public float InverseLerp(Vector3 value)

Description

Calculates the linear parameter t that produces the interpolant value within the range.

Parameters

valueThe value within the range you want to calculate.

Returns

floatThe interpolant value between [0..1].