Class Easing.ElasticIn

Enclosing class:
Easing

public static class Easing.ElasticIn extends Easing.Elastic
An Elastic easing used for ElasticIn functions.
  • Constructor Details

    • ElasticIn

      public ElasticIn(float amplitude, float period)
    • ElasticIn

      public ElasticIn()
  • Method Details

    • ease

      public float ease(float t, float b, float c, float d)
      Description copied from class: Easing
      The basic function for easing.
      Specified by:
      ease in class Easing
      Parameters:
      t - the time (either frames or in seconds/milliseconds)
      b - the beginning value
      c - the value changed
      d - the duration time
      Returns:
      the eased value