Package squidpony.squidmath
Class Noise.InverseLayered3D
java.lang.Object
squidpony.squidmath.Noise.InverseLayered3D
- All Implemented Interfaces:
Noise.Noise3D
- Enclosing class:
- Noise
public static class Noise.InverseLayered3D extends Object implements Noise.Noise3D
-
Field Summary
Fields Modifier and Type Field Description protected Noise.Noise3D
basis
double
frequency
double
lacunarity
A multiplier that affects how much the frequency changes with each layer; the default is 0.5 .protected int
octaves
-
Constructor Summary
Constructors Constructor Description InverseLayered3D()
InverseLayered3D(Noise.Noise3D basis)
InverseLayered3D(Noise.Noise3D basis, int octaves)
InverseLayered3D(Noise.Noise3D basis, int octaves, double frequency)
InverseLayered3D(Noise.Noise3D basis, int octaves, double frequency, double lacunarity)
-
Method Summary
Modifier and Type Method Description double
getNoise(double x, double y, double z)
double
getNoiseWithSeed(double x, double y, double z, long seed)
-
Field Details
-
octaves
-
basis
-
frequency
-
lacunarity
A multiplier that affects how much the frequency changes with each layer; the default is 0.5 .
-
-
Constructor Details
-
Method Details
-
getNoise
- Specified by:
getNoise
in interfaceNoise.Noise3D
-
getNoiseWithSeed
- Specified by:
getNoiseWithSeed
in interfaceNoise.Noise3D
-