Package com.sk89q.worldedit.math.noise
Class RidgedMultiFractalNoise
java.lang.Object
com.sk89q.worldedit.math.noise.RidgedMultiFractalNoise
- All Implemented Interfaces:
NoiseGenerator
Generates ridged multi-fractal noise.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected net.royawesome.jlibnoise.module.source.RidgedMultidoubledoubleprotected net.royawesome.jlibnoise.module.source.RidgedMultiintintgetSeed()floatGet the noise value for the given position.floatGet the noise value for the given position.voidsetFrequency(double frequency) voidsetLacunarity(double lacunarity) voidsetOctaveCount(int octaveCount) voidsetSeed(int seed)
-
Constructor Details
-
RidgedMultiFractalNoise
public RidgedMultiFractalNoise()
-
-
Method Details
-
createModule
protected net.royawesome.jlibnoise.module.source.RidgedMulti createModule() -
getFrequency
public double getFrequency() -
setFrequency
public void setFrequency(double frequency) -
getLacunarity
public double getLacunarity() -
setLacunarity
public void setLacunarity(double lacunarity) -
getOctaveCount
public int getOctaveCount() -
setOctaveCount
public void setOctaveCount(int octaveCount) -
setSeed
public void setSeed(int seed) -
getSeed
public int getSeed() -
getModule
protected net.royawesome.jlibnoise.module.source.RidgedMulti getModule() -
noise
Description copied from interface:NoiseGeneratorGet the noise value for the given position. The returned value may change on every future call for the same position.- Specified by:
noisein interfaceNoiseGenerator- Parameters:
position- the position- Returns:
- a noise value between 0 (inclusive) and 1 (inclusive)
-
noise
Description copied from interface:NoiseGeneratorGet the noise value for the given position. The returned value may change on every future call for the same position.- Specified by:
noisein interfaceNoiseGenerator- Parameters:
position- the position- Returns:
- a noise value between 0 (inclusive) and 1 (inclusive)
-