Class PanelTweens

java.lang.Object
com.simsilica.lemur.anim.PanelTweens

public class PanelTweens extends Object
Static utility methods for creating common Lemur Panel-specific Tween objects.
  • Constructor Details

    • PanelTweens

      public PanelTweens()
  • Method Details

    • fade

      public static Tween fade(Panel target, Float fromAlpha, Float toAlpha, double length)
      Returns a tween object that will interpolate the alpha value of a panel between to supplied values. If either alpha value is null then they will be substituted with the Panel's current alpha value AT THE TIME OF THIS CALL.