C# Class LibNoise.Unity.Operator.Select

Provides a noise module that outputs the value selected from one of two source modules chosen by the output value from a control module. [OPERATOR]
Inheritance: ModuleBase
Show file 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.

Select ( ) : System

Initializes a new instance of Select.

Select ( ModuleBase inputA, ModuleBase inputB, ModuleBase controller ) : System

Initializes a new instance of Select.

Select ( double min, double max, double fallOff, ModuleBase inputA, ModuleBase inputB ) : System

Initializes a new instance of Select.

SetBounds ( double min, double max ) : void

Sets the bounds.

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

Select() public method

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

Select() public method

Initializes a new instance of Select.
public Select ( ModuleBase inputA, ModuleBase inputB, ModuleBase controller ) : System
inputA ModuleBase The first input module.
inputB ModuleBase The second input module.
controller ModuleBase
return System

Select() public method

Initializes a new instance of Select.
public Select ( double min, double max, double fallOff, ModuleBase inputA, ModuleBase inputB ) : System
min double The minimum value.
max double The maximum value.
fallOff double The falloff value at the edge transition.
inputA ModuleBase The first input module.
inputB ModuleBase The second input module.
return System

SetBounds() public method

Sets the bounds.
public SetBounds ( double min, double max ) : void
min double The minimum value.
max double The maximum value.
return void