C# Class LibNoise.Unity.Operator.Subtract

Provides a noise module that outputs the difference of the two output values from two source modules. [OPERATOR]
Inheritance: ModuleBase
Datei anzeigen Open project: jadlerfisher/The-Nature-of-Code-Unity-Remix Class Usage Examples

Public Methods

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

Returns the output value for the given input coordinates.

Subtract ( ) : System

Initializes a new instance of Subtract.

Subtract ( ModuleBase lhs, ModuleBase rhs ) : System

Initializes a new instance of Subtract.

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

Subtract() public method

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

Subtract() public method

Initializes a new instance of Subtract.
public Subtract ( ModuleBase lhs, ModuleBase rhs ) : System
lhs ModuleBase The left hand input module.
rhs ModuleBase The right hand input module.
return System