Méthode | Description | |
---|---|---|
BevinsValue ( ) |
0-args constructor.
|
|
BevinsValue ( int seed, NoiseQuality quality ) |
Create a new BevinsValueNoise with given values.
|
|
GetValue ( float x ) : float |
Generates an output value given the coordinates of the specified input value.
|
|
GetValue ( float x, float y ) : float |
Generates an output value given the coordinates of the specified input value.
|
|
GetValue ( float x, float y, float z ) : float |
Generates an output value given the coordinates of the specified input value.
|
|
ValueCoherentNoise1D ( float x, long seed, NoiseQuality quality ) : float |
Generates a value-coherent-noise value from the coordinates of a one-dimensional input value. The return value ranges from -1.0 to +1.0.
|
|
ValueCoherentNoise2D ( float x, float y, long seed, NoiseQuality quality ) : float |
Generates a value-coherent-noise value from the coordinates of a two-dimensional input value. The return value ranges from -1.0 to +1.0.
|
|
ValueCoherentNoise3D ( float x, float y, float z, long seed, NoiseQuality quality ) : float |
Generates a value-coherent-noise value from the coordinates of a three-dimensional input value. The return value ranges from -1.0 to +1.0.
|
|
ValueNoise1D ( int x, long seed ) : float |
Generates a value-noise value from the coordinates of a one-dimensional input value. The return value ranges from -1.0 to +1.0. A noise function differs from a random-number generator because it always returns the same output value if the same input value is passed to it.
|
|
ValueNoise2D ( int x, int y ) : float |
Generates a value-noise value from the coordinates of a two-dimensional input value. The return value ranges from -1.0 to +1.0. it use ValueNoise2D(int x, int y, long seed) with a seed number of 0
|
|
ValueNoise2D ( int x, int y, long seed ) : float |
Generates a value-noise value from the coordinates of a two-dimensional input value. The return value ranges from -1.0 to +1.0. A noise function differs from a random-number generator because it always returns the same output value if the same input value is passed to it.
|
|
ValueNoise3D ( int x, int y, int z, long seed ) : float |
Generates a value-noise value from the coordinates of a three-dimensional input value. The return value ranges from -1.0 to +1.0. A noise function differs from a random-number generator because it always returns the same output value if the same input value is passed to it.
|
Méthode | Description | |
---|---|---|
IntValueNoise1D ( int x, long seed ) : int |
Generates an integer-noise value from the coordinates of a one-dimensional input value. The return value ranges from 0 to 2147483647. A noise function differs from a random-number generator because it always returns the same output value if the same input value is passed to it.
|
|
IntValueNoise2D ( int x, int y, long seed ) : int |
Generates an integer-noise value from the coordinates of a two-dimensional input value. The return value ranges from 0 to 2147483647. A noise function differs from a random-number generator because it always returns the same output value if the same input value is passed to it.
|
|
IntValueNoise3D ( int x, int y, int z, long seed ) : int |
Generates an integer-noise value from the coordinates of a three-dimensional input value. The return value ranges from 0 to 2147483647. A noise function differs from a random-number generator because it always returns the same output value if the same input value is passed to it.
|
public BevinsValue ( int seed, NoiseQuality quality ) | ||
seed | int | Seed. |
quality | NoiseQuality | Quality. |
public GetValue ( float x ) : float | ||
x | float | The input coordinate on the x-axis. |
Résultat | float |
public GetValue ( float x, float y ) : float | ||
x | float | The input coordinate on the x-axis. |
y | float | The input coordinate on the y-axis. |
Résultat | float |
public GetValue ( float x, float y, float z ) : float | ||
x | float | The input coordinate on the x-axis. |
y | float | The input coordinate on the y-axis. |
z | float | The input coordinate on the z-axis. |
Résultat | float |
public static ValueCoherentNoise1D ( float x, long seed, NoiseQuality quality ) : float | ||
x | float | The x coordinate of the input value |
seed | long | The random number seed |
quality | NoiseQuality | The quality of the coherent-noise |
Résultat | float |
public ValueCoherentNoise2D ( float x, float y, long seed, NoiseQuality quality ) : float | ||
x | float | The x coordinate of the input value |
y | float | The y coordinate of the input value |
seed | long | The random number seed |
quality | NoiseQuality | The quality of the coherent-noise |
Résultat | float |
public static ValueCoherentNoise3D ( float x, float y, float z, long seed, NoiseQuality quality ) : float | ||
x | float | The x coordinate of the input value |
y | float | The y coordinate of the input value |
z | float | The z coordinate of the input value |
seed | long | The random number seed |
quality | NoiseQuality | The quality of the coherent-noise |
Résultat | float |
public static ValueNoise1D ( int x, long seed ) : float | ||
x | int | The x coordinate of the input value |
seed | long | A random number seed |
Résultat | float |
public ValueNoise2D ( int x, int y ) : float | ||
x | int | The x coordinate of the input value |
y | int | The y coordinate of the input value |
Résultat | float |
public ValueNoise2D ( int x, int y, long seed ) : float | ||
x | int | The x coordinate of the input value |
y | int | The y coordinate of the input value |
seed | long | A random number seed |
Résultat | float |
public static ValueNoise3D ( int x, int y, int z, long seed ) : float | ||
x | int | The x coordinate of the input value |
y | int | The y coordinate of the input value |
z | int | The z coordinate of the input value |
seed | long | A random number seed |
Résultat | float |