C# Class LibNoise.Generator.Perlin

Provides a noise module that outputs a three-dimensional perlin noise. [GENERATOR]
Inheritance: ModuleBase
Mostrar archivo Open project: simonwittber/LibNoise-Unity Class Usage Examples

Public Methods

Method Description
GetValue ( float x, float y, float z ) : float

Returns the output value for the given input coordinates.

Perlin ( ) : System

Initializes a new instance of Perlin.

Perlin ( float frequency, float lacunarity, float persistence, int octaves, int seed, QualityMode quality ) : System

Initializes a new instance of Perlin.

Method Details

GetValue() public method

Returns the output value for the given input coordinates.
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

Perlin() public method

Initializes a new instance of Perlin.
public Perlin ( ) : System
return System

Perlin() public method

Initializes a new instance of Perlin.
public Perlin ( float frequency, float lacunarity, float persistence, int octaves, int seed, QualityMode quality ) : System
frequency float The frequency of the first octave.
lacunarity float The lacunarity of the perlin noise.
persistence float The persistence of the perlin noise.
octaves int The number of octaves of the perlin noise.
seed int The seed of the perlin noise.
quality QualityMode The quality of the perlin noise.
return System