C# Class LibNoise.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
ファイルを表示 Open project: simonwittber/LibNoise-Unity

Public Methods

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

Returns the output value for the given input coordinates.

Turbulence ( ) : System

Initializes a new instance of Turbulence.

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

Initializes a new instance of Turbulence.

Turbulence ( float power, ModuleBase input ) : System

Initializes a new instance of Turbulence.

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

Turbulence() public method

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

Turbulence() public method

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

Turbulence() public method

Initializes a new instance of Turbulence.
public Turbulence ( float power, ModuleBase input ) : System
power float
input ModuleBase
return System