C# Class LibNoise.Unity.Generator.RidgedMultifractal

Provides a noise module that outputs 3-dimensional ridged-multifractal noise. [GENERATOR]
Inheritance: ModuleBase
Datei anzeigen Open project: Keshire/Unity-polygon-map-generation Class Usage Examples

Public Methods

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

Returns the output value for the given input coordinates.

RidgedMultifractal ( ) : System

Initializes a new instance of RidgedMultifractal.

RidgedMultifractal ( double frequency, double lacunarity, int octaves, int seed, QualityMode quality ) : System

Initializes a new instance of RidgedMultifractal.

Private Methods

Method Description
UpdateWeights ( ) : void

Updates the weights of the ridged-multifractal noise.

Method Details

GetValue() public method

Returns the output value for the given input coordinates.
public GetValue ( double x, double y, double z ) : double
x double The input coordinate on the x-axis.
y double The input coordinate on the y-axis.
z double The input coordinate on the z-axis.
return double

RidgedMultifractal() public method

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

RidgedMultifractal() public method

Initializes a new instance of RidgedMultifractal.
public RidgedMultifractal ( double frequency, double lacunarity, int octaves, int seed, QualityMode quality ) : System
frequency double The frequency of the first octave.
lacunarity double The lacunarity of the ridged-multifractal noise.
octaves int The number of octaves of the ridged-multifractal noise.
seed int The seed of the ridged-multifractal noise.
quality QualityMode The quality of the ridged-multifractal noise.
return System