C# Class LibNoise.Modifiers.AddOutput

Module that returns the output of two source modules added together.
Inheritance: IModule
ファイルを表示 Open project: MadoxLabs/NoiseTool Class Usage Examples

Public Methods

Method Description
AddOutput ( IModule sourceModule1, IModule sourceModule2 ) : System

Initialises a new instance of the Add class.

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

Returns the output of the two source modules added together.

Method Details

AddOutput() public method

Initialises a new instance of the Add class.
public AddOutput ( IModule sourceModule1, IModule sourceModule2 ) : System
sourceModule1 IModule The first module from which to retrieve noise.
sourceModule2 IModule The second module from which to retrieve noise.
return System

GetValue() public method

Returns the output of the two source modules added together.
public GetValue ( double x, double y, double z ) : double
x double
y double
z double
return double