C# Class LibNoise.Unity.Operator.ScaleBias

Provides a noise module that applies a scaling factor and a bias to the output value from a source module. [OPERATOR]
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.

ScaleBias ( ) : System

Initializes a new instance of ScaleBias.

ScaleBias ( ModuleBase input ) : System

Initializes a new instance of ScaleBias.

ScaleBias ( double scale, double bias, ModuleBase input ) : System

Initializes a new instance of ScaleBias.

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

ScaleBias() public method

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

ScaleBias() public method

Initializes a new instance of ScaleBias.
public ScaleBias ( ModuleBase input ) : System
input ModuleBase The input module.
return System

ScaleBias() public method

Initializes a new instance of ScaleBias.
public ScaleBias ( double scale, double bias, ModuleBase input ) : System
scale double The scaling factor to apply to the output value from the source module.
bias double The bias to apply to the scaled output value from the source module.
input ModuleBase The input module.
return System