Enum Class CLNCoordinateAxisS

java.lang.Object
java.lang.Enum<CLNCoordinateAxisS>
com.io7m.calino.api.CLNCoordinateAxisS
All Implemented Interfaces:
CLNDescribableType, Serializable, Comparable<CLNCoordinateAxisS>, Constable

public enum CLNCoordinateAxisS extends Enum<CLNCoordinateAxisS> implements CLNDescribableType
The texture coordinate S axis. This is typically considered to be analogous the "width" or X axis.
  • Enum Constant Details

    • AXIS_S_INCREASING_RIGHT

      public static final CLNCoordinateAxisS AXIS_S_INCREASING_RIGHT
      The S axis increases rightward.
    • AXIS_S_INCREASING_LEFT

      public static final CLNCoordinateAxisS AXIS_S_INCREASING_LEFT
      The S axis increases leftward.
  • Method Details

    • values

      public static CLNCoordinateAxisS[] 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 CLNCoordinateAxisS 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
    • of

      public static CLNCoordinateAxisS of(String segment)
      Parse an S axis.
      Parameters:
      segment - The string
      Returns:
      A S axis