java.lang.Object
java.lang.Enum<Simplex3DVariant>
de.articdive.jnoise.generators.noise_parameters.simplex_variants.Simplex3DVariant
All Implemented Interfaces:
Serializable, Comparable<Simplex3DVariant>, Constable

public enum Simplex3DVariant extends Enum<Simplex3DVariant>
Enum representing the different variants of 3D OpenSimplex2 noise.
  • Enum Constant Details

    • CLASSIC

      public static final Simplex3DVariant CLASSIC
      3D OpenSimplex2 noise, fallback rotation option Use IMPROVE_XY or IMPROVE_XZ instead, wherever appropriate. They have less diagonal bias. This function's best use is as a fallback.
    • IMPROVE_XY

      public static final Simplex3DVariant IMPROVE_XY
      3D OpenSimplex2 noise, with better visual isotropy in (X, Y). Recommended for 3D terrain and time-varied animations. The Z coordinate should always be the "different" coordinate in whatever your use case is. If Y is vertical in world coordinates, use IMPROVE_XZ If Z is vertical in world coordinates, use this.
    • IMPROVE_XZ

      public static final Simplex3DVariant IMPROVE_XZ
      3D OpenSimplex2 noise, with better visual isotropy in (X, Z). Recommended for 3D terrain and time-varied animations. The Y coordinate should always be the "different" coordinate in whatever your use case is. If Y is vertical in world coordinates, use this. If Z is vertical in world coordinates, use IMPROVE_XY.
  • Method Details

    • values

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