Enum Class Simplex4DVariant
java.lang.Object
java.lang.Enum<Simplex4DVariant>
de.articdive.jnoise.generators.noise_parameters.simplex_variants.Simplex4DVariant
- All Implemented Interfaces:
Serializable
,Comparable<Simplex4DVariant>
,Constable
Enum representing the different variants of 4D OpenSimplex2 noise.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription4D OpenSimplex2 noise, standard (fallback) lattice orientation.4D OpenSimplex2 noise, with XY and ZW forming orthogonal triangular-based planes.4D OpenSimplex2 noise, with XYZ oriented like noise3_ImproveXY and W for an extra degree of freedom.4D OpenSimplex2 noise, with XYZ oriented like noise3_ImproveXZ and W for an extra degree of freedom.4D OpenSimplex2 noise, with XYZ oriented like noise3_Fallback and W for an extra degree of freedom. -
Method Summary
Modifier and TypeMethodDescriptionstatic Simplex4DVariant
Returns the enum constant of this class with the specified name.static Simplex4DVariant[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CLASSIC
4D OpenSimplex2 noise, standard (fallback) lattice orientation. -
IMPROVE_XY_IMPROVE_ZW
4D OpenSimplex2 noise, with XY and ZW forming orthogonal triangular-based planes. Recommended for 3D terrain, where X and Y (or Z and W) are horizontal. Recommended for noise(x, y, sin(time), cos(time)) trick. -
IMPROVE_XYZ_IMPROVE_XY
4D OpenSimplex2 noise, with XYZ oriented like noise3_ImproveXY and W for an extra degree of freedom. W repeats eventually. Recommended for time-varied animations which texture a 3D object (W=time) in a space where Z is vertical -
IMPROVE_XYZ_IMPROVE_XZ
4D OpenSimplex2 noise, with XYZ oriented like noise3_ImproveXZ and W for an extra degree of freedom. W repeats eventually. Recommended for time-varied animations which texture a 3D object (W=time) in a space where Y is vertical -
IMRPOVE_XYZ
4D OpenSimplex2 noise, with XYZ oriented like noise3_Fallback and W for an extra degree of freedom. W repeats eventually. Recommended for time-varied animations which texture a 3D object (W=time) where there isn't a clear distinction between horizontal and vertical
-
-
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
-