Enum Class VisualType

java.lang.Object
java.lang.Enum<VisualType>
dev.gothickit.zenkit.world.visual.VisualType
All Implemented Interfaces:
EnumNative<VisualType>, Serializable, Comparable<VisualType>, Constable

public enum VisualType extends Enum<VisualType> implements EnumNative<VisualType>
  • Enum Constant Details

    • DECAL

      public static final VisualType DECAL
    • MESH

      public static final VisualType MESH
    • MULTI_RESOLUTION_MESH

      public static final VisualType MULTI_RESOLUTION_MESH
    • PARTICLE_EFFECT

      public static final VisualType PARTICLE_EFFECT
    • CAMERA

      public static final VisualType CAMERA
    • MODEL

      public static final VisualType MODEL
    • MORPH_MESH

      public static final VisualType MORPH_MESH
    • UNKNOWN

      public static final VisualType UNKNOWN
  • Field Details

    • value

      public final int value
  • Method Details

    • values

      public static VisualType[] 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 VisualType 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
    • getIntValue

      public int getIntValue()
      Specified by:
      getIntValue in interface EnumNative<VisualType>
    • getForValue

      public VisualType getForValue(int i)
      Specified by:
      getForValue in interface EnumNative<VisualType>