Enum Class LayerBlend

java.lang.Object
java.lang.Enum<LayerBlend>
net.ixdarklord.coolcatcanvas.api.client.armature.LayerBlend
All Implemented Interfaces:
Serializable, Comparable<LayerBlend>, Constable

public enum LayerBlend extends Enum<LayerBlend>
How a layer's clips combine with the layers under it.
  • Enum Constant Details

    • OVERRIDE

      public static final LayerBlend OVERRIDE
      Takes over the joints its clips move, by the layer's weight: a 0.5 weight is halfway between.
    • ADDITIVE

      public static final LayerBlend ADDITIVE
      Adds its movement on top of whatever the layers under it do: breathing over walking, a flinch over anything.
  • Method Details

    • values

      public static LayerBlend[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static LayerBlend valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null