C# Class LibNoise.Unity.Operator.Turbulence

Provides a noise module that that randomly displaces the input value before returning the output value from a source module. [OPERATOR]
Inheritance: ModuleBase
Afficher le fichier Open project: Keshire/Unity-polygon-map-generation

Méthodes publiques

Méthode Description
GetValue ( double x, double y, double z ) : double

Returns the output value for the given input coordinates.

Turbulence ( ) : System

Initializes a new instance of Turbulence.

Turbulence ( ModuleBase input ) : System

Initializes a new instance of Turbulence.

Turbulence ( Perlin x, Perlin y, Perlin z, double power, ModuleBase input ) : System

Initializes a new instance of Turbulence.

Turbulence ( double power, ModuleBase input ) : System

Initializes a new instance of Turbulence.

Method Details

GetValue() public méthode

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.
Résultat double

Turbulence() public méthode

Initializes a new instance of Turbulence.
public Turbulence ( ) : System
Résultat System

Turbulence() public méthode

Initializes a new instance of Turbulence.
public Turbulence ( ModuleBase input ) : System
input ModuleBase The input module.
Résultat System

Turbulence() public méthode

Initializes a new instance of Turbulence.
public Turbulence ( Perlin x, Perlin y, Perlin z, double power, ModuleBase input ) : System
x LibNoise.Unity.Generator.Perlin The perlin noise to apply on the x-axis.
y LibNoise.Unity.Generator.Perlin The perlin noise to apply on the y-axis.
z LibNoise.Unity.Generator.Perlin The perlin noise to apply on the z-axis.
power double The power of the turbulence.
input ModuleBase The input module.
Résultat System

Turbulence() public méthode

Initializes a new instance of Turbulence.
public Turbulence ( double power, ModuleBase input ) : System
power double
input ModuleBase
Résultat System