Enum Class MaterialAsset.Flags

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

public static enum MaterialAsset.Flags extends Enum<MaterialAsset.Flags>
  • Enum Constant Details

    • Transparent

      public static final MaterialAsset.Flags Transparent
      Makes a material transparent (based on alpha value)
    • DoubleSided

      public static final MaterialAsset.Flags DoubleSided
      Makes a material double-sided (so the backside of a triangle becomes visible)
  • Method Details

    • values

      public static MaterialAsset.Flags[] 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 MaterialAsset.Flags 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