Enum Class NormalsMode

java.lang.Object
java.lang.Enum<NormalsMode>
com.ardor3d.scenegraph.hint.NormalsMode
All Implemented Interfaces:
Serializable, Comparable<NormalsMode>, Constable

public enum NormalsMode extends Enum<NormalsMode>
  • Enum Constant Details

    • Inherit

      public static final NormalsMode Inherit
      Do whatever our parent does. If no parent, we'll default to NormalizeIfScaled.
    • UseProvided

      public static final NormalsMode UseProvided
      Send through the normals currently set as-is.
    • AlwaysNormalize

      public static final NormalsMode AlwaysNormalize
      Tell the card to normalize any normals data we might give it.
    • NormalizeIfScaled

      public static final NormalsMode NormalizeIfScaled
      If a scale other than 1,1,1 is being used then tell the card to normalize any normals data we might give it.
    • Off

      public static final NormalsMode Off
      Do not send normal data to the card, even if we have some.
  • Method Details

    • values

      public static NormalsMode[] 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 NormalsMode 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