Provides a noise module that outputs Voronoi cells. [GENERATOR]
More...
|
| Voronoi () |
| Initializes a new instance of Voronoi. More...
|
|
| Voronoi (double frequency, double displacement, int seed, bool distance) |
| Initializes a new instance of Voronoi. More...
|
|
override double | GetValue (double x, double y, double z) |
| Returns the output value for the given input coordinates. More...
|
|
double | GetValue (Vector3 coordinate) |
| Returns the output value for the given input coordinates. More...
|
|
double | GetValue (ref Vector3 coordinate) |
| Returns the output value for the given input coordinates. More...
|
|
void | Dispose () |
| Immediately releases the unmanaged resources used by this object. More...
|
|
Provides a noise module that outputs Voronoi cells. [GENERATOR]
LibNoise.Generator.Voronoi.Voronoi |
( |
| ) |
|
Initializes a new instance of Voronoi.
LibNoise.Generator.Voronoi.Voronoi |
( |
double |
frequency, |
|
|
double |
displacement, |
|
|
int |
seed, |
|
|
bool |
distance |
|
) |
| |
Initializes a new instance of Voronoi.
- Parameters
-
frequency | The frequency of the first octave. |
displacement | The displacement of the ridged-multifractal noise. |
seed | The seed of the ridged-multifractal noise. |
distance | Indicates whether the distance from the nearest seed point is applied to the output value. |
override double LibNoise.Generator.Voronoi.GetValue |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
z |
|
) |
| |
|
virtual |
Returns the output value for the given input coordinates.
- Parameters
-
x | The input coordinate on the x-axis. |
y | The input coordinate on the y-axis. |
z | The input coordinate on the z-axis. |
- Returns
- The resulting output value.
Implements LibNoise.ModuleBase.
double LibNoise.Generator.Voronoi.Displacement |
|
getset |
Gets or sets the displacement value of the Voronoi cells.
double LibNoise.Generator.Voronoi.Frequency |
|
getset |
Gets or sets the frequency of the seed points.
int LibNoise.Generator.Voronoi.Seed |
|
getset |
Gets or sets the seed value used by the Voronoi cells.
bool LibNoise.Generator.Voronoi.UseDistance |
|
getset |
Gets or sets a value whether the distance from the nearest seed point is applied to the output value.
The documentation for this class was generated from the following file: