Enum Class Simplex3DVariant
java.lang.Object
java.lang.Enum<Simplex3DVariant>
de.articdive.jnoise.generators.noise_parameters.simplex_variants.Simplex3DVariant
- All Implemented Interfaces:
Serializable
,Comparable<Simplex3DVariant>
,Constable
Enum representing the different variants of 3D OpenSimplex2 noise.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription3D OpenSimplex2 noise, fallback rotation option UseIMPROVE_XY
orIMPROVE_XZ
instead, wherever appropriate.3D OpenSimplex2 noise, with better visual isotropy in (X, Y).3D OpenSimplex2 noise, with better visual isotropy in (X, Z). -
Method Summary
Modifier and TypeMethodDescriptionstatic Simplex3DVariant
Returns the enum constant of this class with the specified name.static Simplex3DVariant[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CLASSIC
3D OpenSimplex2 noise, fallback rotation option UseIMPROVE_XY
orIMPROVE_XZ
instead, wherever appropriate. They have less diagonal bias. This function's best use is as a fallback. -
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, useIMPROVE_XZ
If Z is vertical in world coordinates, use this. -
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, useIMPROVE_XY
.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-