public class VoronoiNoise
extends java.lang.Object
Constructor and Description |
---|
VoronoiNoise() |
Modifier and Type | Method and Description |
---|---|
protected net.royawesome.jlibnoise.module.source.Voronoi |
createModule() |
double |
getFrequency() |
protected V |
getModule() |
int |
getSeed() |
float |
noise(Vector2 position)
Get the noise value for the given position.
|
float |
noise(Vector3 position)
Get the noise value for the given position.
|
void |
setFrequency(double frequency) |
void |
setSeed(int seed) |
protected net.royawesome.jlibnoise.module.source.Voronoi createModule()
public double getFrequency()
public void setFrequency(double frequency)
public void setSeed(int seed)
public int getSeed()
protected V getModule()
public float noise(Vector2 position)
NoiseGenerator
noise
in interface NoiseGenerator
position
- the positionpublic float noise(Vector3 position)
NoiseGenerator
noise
in interface NoiseGenerator
position
- the position