C# Class LibNoise.Operator.Blend

Provides a noise module that outputs a weighted blend of the output values from two source modules given the output value supplied by a control module. [OPERATOR]
Inheritance: ModuleBase
Exibir arquivo Open project: simonwittber/LibNoise-Unity Class Usage Examples

Public Methods

Method Description
Blend ( ) : System

Initializes a new instance of Blend.

Blend ( ModuleBase lhs, ModuleBase rhs, ModuleBase controller ) : System

Initializes a new instance of Blend.

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

Returns the output value for the given input coordinates.

Method Details

Blend() public method

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

Blend() public method

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