Enum Class Asset.Type

java.lang.Object
java.lang.Enum<Asset.Type>
net.risingworld.api.assets.Asset.Type
All Implemented Interfaces:
Serializable, Comparable<Asset.Type>, Constable
Enclosing class:
Asset

public static enum Asset.Type extends Enum<Asset.Type>
The asset type
  • Enum Constant Details

    • Unspecified

      public static final Asset.Type Unspecified
    • AssetBundle

      public static final Asset.Type AssetBundle
    • Texture

      public static final Asset.Type Texture
    • Model

      public static final Asset.Type Model
    • Mesh

      public static final Asset.Type Mesh
    • Prefab

      public static final Asset.Type Prefab
    • Material

      public static final Asset.Type Material
    • Sound

      public static final Asset.Type Sound
    • USS

      public static final Asset.Type USS
    • UXML

      public static final Asset.Type UXML
    • ModelImportSettings

      public static final Asset.Type ModelImportSettings
  • Method Details

    • values

      public static Asset.Type[] 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 Asset.Type 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
    • get

      public static Asset.Type get(int ordinal)