Méthode | Description | |
---|---|---|
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.
|
|
GetValue ( float x, float y, float z, float w ) : float |
Generates an output value given the coordinates of the specified input value.
|
|
SimplexPerlin ( ) |
0-args constructor
|
|
SimplexPerlin ( int seed, NoiseQuality quality ) |
Create a new ImprovedPerlin with given values
|
Méthode | Description | |
---|---|---|
Dot ( int g, float x, float y ) : float |
Computes dot product in 2D.
|
|
Dot ( int g, float x, float y, float z ) : float |
Computes dot product in 3D.
|
|
Dot ( int g, float x, float y, float z, float t ) : float |
Computes dot product in 4D.
|
protected static Dot ( int g, float x, float y ) : float | ||
g | int | 2-vector (grid offset). |
x | float | X coordinates. |
y | float | Y coordinates. |
Résultat | float |
protected static Dot ( int g, float x, float y, float z ) : float | ||
g | int | 3-vector (grid offset). |
x | float | X coordinates. |
y | float | Y coordinates. |
z | float | Z coordinates. |
Résultat | float |
protected static Dot ( int g, float x, float y, float z, float t ) : float | ||
g | int | 4-vector (grid offset). |
x | float | X coordinates. |
y | float | Y coordinates. |
z | float | Z coordinates. |
t | float | T coordinates. |
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 GetValue ( float x, float y, float z, float w ) : 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. |
w | float | The input coordinate on the w-axis. |
Résultat | float |
public SimplexPerlin ( int seed, NoiseQuality quality ) | ||
seed | int | |
quality | NoiseQuality |