Enum Class TransparencyType

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

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

    • Inherit

      public static final TransparencyType Inherit
      Do whatever our parent does. If no parent, we'll default to OnePass.
    • OnePass

      public static final TransparencyType OnePass
      Single pass. Best for most circumstances.
    • TwoPass

      public static final TransparencyType TwoPass
      Two passes, one with CullState enforced to Front and another with it enforced to Back. The back face pass will not write to depth buffer. The front face will use the ZBufferState from the scene or enforced on the context.
  • Method Details

    • values

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