Class ChainEasing

java.lang.Object
net.thewinnt.cutscenes.easing.types.ChainEasing
All Implemented Interfaces:
Easing

public class ChainEasing extends Object implements Easing
  • Field Details

    • argumentProvider

      public final Easing argumentProvider
    • easing

      public final Easing easing
  • Constructor Details

    • ChainEasing

      public ChainEasing(Easing argumentProvider, Easing easing)
  • Method Details

    • get

      public double get(double t)
      Description copied from interface: Easing
      Returns the eased value from given t
      Specified by:
      get in interface Easing
      Parameters:
      t - the initial progress (linear)
      Returns:
      the eased value
    • toNetwork

      public void toNetwork(net.minecraft.network.FriendlyByteBuf buf)
      Specified by:
      toNetwork in interface Easing
    • getSerializer

      public EasingSerializer<?> getSerializer()
      Specified by:
      getSerializer in interface Easing
      Returns:
      a serializer that creates easings of this type