java.lang.Object
team.lodestar.lodestone.modules.rendering.particle.component.types.color.ColorConfig

public class ColorConfig extends Object
  • Field Details

    • mode

      protected ColorMode mode
    • r0

      protected float r0
    • g0

      protected float g0
    • b0

      protected float b0
    • a0

      protected float a0
    • r1

      protected float r1
    • g1

      protected float g1
    • b1

      protected float b1
    • a1

      protected float a1
    • easing

      protected Easing easing
  • Constructor Details

    • ColorConfig

      public ColorConfig()
  • Method Details

    • constant

      public ColorConfig constant(Color color)
    • constant

      public ColorConfig constant(int r, int g, int b, int a)
    • constant

      public ColorConfig constant(float r, float g, float b, float a)
    • interpolate

      public ColorConfig interpolate(Color color0, Color color1, Easing easing)
    • interpolate

      public ColorConfig interpolate(int r0, int g0, int b0, int a0, int r1, int g1, int b1, int a1, Easing easing)
    • interpolate

      public ColorConfig interpolate(float r0, float g0, float b0, float a0, float r1, float g1, float b1, float a1, Easing easing)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object