Method | Description | |
---|---|---|
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.
|
|
ImprovedPerlin ( ) : System |
0-args constructor
|
|
ImprovedPerlin ( int seed, NoiseQuality quality ) : System |
Create a new ImprovedPerlin with given values
|
Method | Description | |
---|---|---|
Grad ( int hash, float x ) : float |
Modifies the result by adding a directional bias
|
|
Grad ( int hash, float x, float y ) : float |
Modifies the result by adding a directional bias
|
|
Grad ( int hash, float x, float y, float z ) : float |
Modifies the result by adding a directional bias
|
|
Randomize ( int seed ) : void |
Initializes the random values
|
public GetValue ( float x ) : float | ||
x | float | The input coordinate on the x-axis. |
return | 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. |
return | 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. |
return | float |
public ImprovedPerlin ( int seed, NoiseQuality quality ) : System | ||
seed | int | |
quality | NoiseQuality | |
return | System |