Klasse Easing.Back

java.lang.Object
de.luckymcdev.foundryengine.common.easing.Easing
de.luckymcdev.foundryengine.common.easing.Easing.Back
Bekannte direkte Unterklassen:
Easing.BackIn, Easing.BackInOut, Easing.BackOut
Umschließende Klasse:
Easing

public abstract static class Easing.Back extends Easing
A base class for Back easings.
  • Felddetails

    • DEFAULT_OVERSHOOT

      public static final float DEFAULT_OVERSHOOT
      The default overshoot is 10% (1.70158).
      Siehe auch:
  • Konstruktordetails

    • Back

      public Back(String name)
      Creates a new Back instance with the default overshoot (1.70158).
      Parameter:
      name - the name of the easing.
    • Back

      public Back(String name, float overshoot)
      Creates a new Back instance with the specified overshoot.
      Parameter:
      name - the name of the easing.
      overshoot - the amount to overshoot by -- higher number means more overshoot and an overshoot of 0 results in cubic easing with no overshoot
  • Methodendetails

    • getOvershoot

      public float getOvershoot()
      Returns the overshoot for this easing.
      Gibt zurück:
      this easing's overshoot
    • setOvershoot

      public void setOvershoot(float overshoot)
      Sets the overshoot to the given value.
      Parameter:
      overshoot - the new overshoot