Enum Class CLNCoordinateAxisR

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

public enum CLNCoordinateAxisR extends Enum<CLNCoordinateAxisR> implements CLNDescribableType
The texture coordinate R axis. This is typically considered to be the "depth" or Z axis.
  • Enum Constant Details

    • AXIS_R_INCREASING_TOWARD

      public static final CLNCoordinateAxisR AXIS_R_INCREASING_TOWARD
      The R axis increases towards the viewer.
    • AXIS_R_INCREASING_AWAY

      public static final CLNCoordinateAxisR AXIS_R_INCREASING_AWAY
      The R axis increases away from the viewer.
  • Method Details

    • values

      public static CLNCoordinateAxisR[] 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 CLNCoordinateAxisR 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 CLNCoordinateAxisR of(String segment)
      Parse an R axis.
      Parameters:
      segment - The string
      Returns:
      An R axis