Enum Class Text3d.TextScale

java.lang.Object
java.lang.Enum<Text3d.TextScale>
heronarts.glx.shader.Text3d.TextScale
All Implemented Interfaces:
Serializable, Comparable<Text3d.TextScale>, Constable
Enclosing class:
Text3d

public static enum Text3d.TextScale extends Enum<Text3d.TextScale>
  • Enum Constant Details

    • WORLD

      public static final Text3d.TextScale WORLD
      Text size is defined relative to the world objects
    • PIXELS

      public static final Text3d.TextScale PIXELS
      Text size is defined in scaled UI screen pixels
  • Method Details

    • values

      public static Text3d.TextScale[] 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 Text3d.TextScale 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