Animatroller.Framework.Effect.Pulsating.GetValue C# (CSharp) Method

GetValue() protected method

protected GetValue ( double zeroToOne, double negativeOneToOne, double zeroToOneToZero, bool final ) : double
zeroToOne double
negativeOneToOne double
zeroToOneToZero double
final bool
return double
        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);
        }