public final class Noise extends Object
| Modifier and Type | Method and Description |
|---|---|
static double |
gradientCoherentNoise3D(double x,
double y,
double z,
int seed,
NoiseQuality quality)
Generates a gradient-coherent-noise value from the coordinates of a three-dimensional input value.
|
static double |
gradientNoise3D(double fx,
double fy,
double fz,
int ix,
int iy,
int iz,
int seed)
Generates a gradient-noise value from the coordinates of a three-dimensional input value and the integer coordinates of a nearby three-dimensional value.
|
static int |
intValueNoise3D(int x,
int y,
int z,
int seed)
Generates an integer-noise value from the coordinates of a three-dimensional input value.
|
static double |
valueCoherentNoise3D(double x,
double y,
double z,
int seed,
NoiseQuality quality)
Generates a value-coherent-noise value from the coordinates of a three-dimensional input value.
|
static double |
valueNoise3D(int x,
int y,
int z,
int seed)
Generates a value-noise value from the coordinates of a three-dimensional input value.
|
public static double gradientCoherentNoise3D(double x,
double y,
double z,
int seed,
NoiseQuality quality)
x - The @a x coordinate of the input value.y - The @a y coordinate of the input value.z - The @a z coordinate of the input value.seed - The random number seed.quality - The quality of the coherent-noise.public static double gradientNoise3D(double fx,
double fy,
double fz,
int ix,
int iy,
int iz,
int seed)
fx - The floating-point @a x coordinate of the input value.fy - The floating-point @a y coordinate of the input value.fz - The floating-point @a z coordinate of the input value.ix - The integer @a x coordinate of a nearby value.iy - The integer @a y coordinate of a nearby value.iz - The integer @a z coordinate of a nearby value.seed - The random number seed.public static int intValueNoise3D(int x,
int y,
int z,
int seed)
x - The integer @a x coordinate of the input value.y - The integer @a y coordinate of the input value.z - The integer @a z coordinate of the input value.seed - A random number seed.public static double valueCoherentNoise3D(double x,
double y,
double z,
int seed,
NoiseQuality quality)
x - The @a x coordinate of the input value.y - The @a y coordinate of the input value.z - The @a z coordinate of the input value.seed - The random number seed.quality - The quality of the coherent-noise.public static double valueNoise3D(int x,
int y,
int z,
int seed)
x - The @a x coordinate of the input value.y - The @a y coordinate of the input value.z - The @a z coordinate of the input value.seed - A random number seed.Copyright © 2013–2017 Flow Powered. All rights reserved.