Enum Class ModelMeta.FormatVersion

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

public static enum ModelMeta.FormatVersion extends Enum<ModelMeta.FormatVersion>
Format version
  • Enum Constant Details

  • Method Details

    • values

      public static ModelMeta.FormatVersion[] 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 ModelMeta.FormatVersion 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
    • find

      @NotNull public static @NotNull ModelMeta.FormatVersion find(int major)
      Find matched version
      Parameters:
      major - major version
      Returns:
      version
    • convertAnimationRotation

      @NotNull public abstract @NotNull org.joml.Vector3f convertAnimationRotation(@NotNull @NotNull org.joml.Vector3f vector)
      Converts animation rotation
      Parameters:
      vector - target vector
      Returns:
      converted vector
    • convertAnimationPosition

      @NotNull public abstract @NotNull org.joml.Vector3f convertAnimationPosition(@NotNull @NotNull org.joml.Vector3f vector)
      Converts animation position
      Parameters:
      vector - target vector
      Returns:
      converted vector
    • convertAnimationScale

      @NotNull public @NotNull org.joml.Vector3f convertAnimationScale(@NotNull @NotNull org.joml.Vector3f vector)
      Converts animation scale
      Parameters:
      vector - target vector
      Returns:
      converted vector