Enum Class TransformType

java.lang.Object
java.lang.Enum<TransformType>
dev.kosmx.playerAnim.api.TransformType
All Implemented Interfaces:
Serializable, Comparable<TransformType>, Constable

public enum TransformType extends Enum<TransformType>
  • Enum Constant Details

    • POSITION

      public static final TransformType POSITION
      The part is shifted in 3d space into the direction
    • ROTATION

      public static final TransformType ROTATION
      The part is rotated in 3D space using Euler angles
    • BEND

      public static final TransformType BEND
      Bend the part, the vector should look like this: {bend planes rotation 0-2π, bend value, not defined}
    • SCALE

      public static final TransformType SCALE
      The part is scaled in 3d space
  • Method Details

    • values

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