C# Class LibNoise.Operator.Add

Provides a noise module that outputs the sum of the two output values from two source modules. [OPERATOR]
Inheritance: ModuleBase
Show file Open project: simonwittber/LibNoise-Unity Class Usage Examples

Public Methods

Method Description
Add ( ) : System

Initializes a new instance of Add.

Add ( ModuleBase lhs, ModuleBase rhs ) : System

Initializes a new instance of Add.

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

Returns the output value for the given input coordinates.

Method Details

Add() public method

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

Add() public method

Initializes a new instance of Add.
public Add ( ModuleBase lhs, ModuleBase rhs ) : System
lhs ModuleBase The left hand input module.
rhs ModuleBase The right hand 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