Enum Class ModelType

java.lang.Object
java.lang.Enum<ModelType>
gaiasky.scene.record.ModelType
All Implemented Interfaces:
Serializable, Comparable<ModelType>, Constable

public enum ModelType extends Enum<ModelType>
Enum to represent model types.
  • Enum Constant Details

    • SPHERE

      public static final ModelType SPHERE
    • UVSPHERE

      public static final ModelType UVSPHERE
    • ICOSPHERE

      public static final ModelType ICOSPHERE
    • CUBESPHERE

      public static final ModelType CUBESPHERE
    • OCTAHEDRONSPHERE

      public static final ModelType OCTAHEDRONSPHERE
    • PLANE

      public static final ModelType PLANE
    • PATCH

      public static final ModelType PATCH
    • SURFACE

      public static final ModelType SURFACE
    • BILLBOARD

      public static final ModelType BILLBOARD
    • QUAD

      public static final ModelType QUAD
    • DISC

      public static final ModelType DISC
    • TWOFACEDBILLBOARD

      public static final ModelType TWOFACEDBILLBOARD
    • CYLINDER

      public static final ModelType CYLINDER
    • RING

      public static final ModelType RING
    • CONE

      public static final ModelType CONE
    • CUBE

      public static final ModelType CUBE
    • BOX

      public static final ModelType BOX
  • Method Details

    • values

      public static ModelType[] 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 ModelType 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
    • from

      public static ModelType from(String name)
    • from

      public static ModelType from(String name, ModelType defaultValue)
    • isUVSphere

      public boolean isUVSphere()
    • isAnySphere

      public boolean isAnySphere()
    • isRing

      public boolean isRing()
    • isQuad

      public boolean isQuad()