public final class PerlinNoise extends Object implements Serializable, Cloneable
| Constructor and Description |
|---|
PerlinNoise(long seed) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
static float |
getLevelForPromillage(float promillage) |
static float |
getLevelForPromillage(int promillage) |
float |
getPerlinNoise(double x)
Generates one dimensional noise.
|
float |
getPerlinNoise(double x,
double y)
Generates two dimensional noise.
|
float |
getPerlinNoise(double x,
double y,
double z)
Generates three dimensional noise.
|
long |
getSeed() |
void |
setSeed(long seed) |
public long getSeed()
public void setSeed(long seed)
public float getPerlinNoise(double x)
x - The point for which to determine the noise value.public float getPerlinNoise(double x,
double y)
x - The X coordinate of the point for which to determine the noise
value.y - The Y coordinate of the point for which to determine the noise
value.public float getPerlinNoise(double x,
double y,
double z)
x - The X coordinate of the point for which to determine the noise
value.y - The Y coordinate of the point for which to determine the noise
value.z - The Z coordinate of the point for which to determine the noise
value.public static float getLevelForPromillage(int promillage)
public static float getLevelForPromillage(float promillage)
Copyright © 2011–2025 pepsoft.org. All rights reserved.