Class BounceEaseInOutFunction

  • All Implemented Interfaces:
    Function

    public class BounceEaseInOutFunction
    extends Object
    implements Function
    Represents a bounce ease in out motion: a bounce at startup and a bounce at the end.
    • Method Detail

      • computeValue

        public float computeValue​(float t)
        Description copied from interface: Function
        Returns the value of the function for the given time factor.
        Specified by:
        computeValue in interface Function
        Parameters:
        t - the time factor, between 0 and 1.
        Returns:
        the value of the function for the given time, between 0 and 1.