Enum Class KeyframeChannel

java.lang.Object
java.lang.Enum<KeyframeChannel>
kr.toxicity.model.api.data.raw.KeyframeChannel
All Implemented Interfaces:
Serializable, Comparable<KeyframeChannel>, Constable

@Internal public enum KeyframeChannel extends Enum<KeyframeChannel>
Represents the type of property a keyframe affects.
Since:
1.15.2
  • Enum Constant Details

    • POSITION

      @SerializedName("position") public static final KeyframeChannel POSITION
      Affects the position of a bone.
      Since:
      1.15.2
    • ROTATION

      @SerializedName("rotation") public static final KeyframeChannel ROTATION
      Affects the rotation of a bone.
      Since:
      1.15.2
    • SCALE

      @SerializedName("scale") public static final KeyframeChannel SCALE
      Affects the scale of a bone.
      Since:
      1.15.2
    • TIMELINE

      @SerializedName("timeline") public static final KeyframeChannel TIMELINE
      Represents a timeline for sound or particle effects.
      Since:
      1.15.2
    • SOUND

      @SerializedName("sound") public static final KeyframeChannel SOUND
      Represents a sound effect.
      Since:
      1.15.2
    • PARTICLE

      @SerializedName("particle") public static final KeyframeChannel PARTICLE
      Represents a particle effect.
      Since:
      1.15.2
    • NOT_FOUND

      public static final KeyframeChannel NOT_FOUND
      Represents an unknown or unsupported channel.
      Since:
      1.15.2
  • Method Details

    • values

      public static KeyframeChannel[] 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 KeyframeChannel 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