Transform() public method

Ease-In/Out
public Transform ( double input ) : double
input double Between 0 and 1
return double
Example #1
0
        protected override double GetValue(double zeroToOne, double negativeOneToOne, double zeroToOneToZero, bool final)
        {
            if (final)
            {
                return(0);
            }

            return(easeTransform.Transform(zeroToOneToZero)
                   .ScaleToMinMax(this.minBrightness, this.maxBrightness));
        }