Enum Class OALContext.DistanceModel

java.lang.Object
java.lang.Enum<OALContext.DistanceModel>
com.blackrook.gloop.openal.OALContext.DistanceModel
All Implemented Interfaces:
Serializable, Comparable<OALContext.DistanceModel>, java.lang.constant.Constable
Enclosing class:
OALContext

public static enum OALContext.DistanceModel extends Enum<OALContext.DistanceModel>
Distance Model enumeration for internal OpenAL distance models for attenuating the final gain of a Source in relation to the position/direction of the listener.
Author:
Matthew Tropiano
  • Enum Constant Details

  • Field Details

    • alVal

      public final int alVal
  • Method Details

    • values

      public static OALContext.DistanceModel[] 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 OALContext.DistanceModel 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