C# Class LibNoise.Operator.Exponent

Provides a noise module that maps the output value from a source module onto an exponential curve. [OPERATOR]
Inheritance: ModuleBase
Exibir arquivo Open project: simonwittber/LibNoise-Unity Class Usage Examples

Public Methods

Method Description
Exponent ( ) : System

Initializes a new instance of Exponent.

Exponent ( float exponent, ModuleBase input ) : System

Initializes a new instance of Exponent.

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

Returns the output value for the given input coordinates.

Method Details

Exponent() public method

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

Exponent() public method

Initializes a new instance of Exponent.
public Exponent ( float exponent, ModuleBase input ) : System
exponent float The exponent to use.
input ModuleBase The input module.
return System

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