C# Class LibNoise.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
Afficher le fichier Open project: simonwittber/LibNoise-Unity Class Usage Examples

Méthodes publiques

Méthode Description
GetValue ( float x, float y, float z ) : float

Returns the output value for the given input coordinates.

Select ( ) : System

Initializes a new instance of Select.

Select ( float min, float max, float fallOff, ModuleBase input1, ModuleBase input2, ModuleBase controller ) : System

Initializes a new instance of Select.

SetBounds ( float min, float max ) : void

Sets the bounds.

Method Details

GetValue() public méthode

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.
Résultat float

Select() public méthode

Initializes a new instance of Select.
public Select ( ) : System
Résultat System

Select() public méthode

Initializes a new instance of Select.
public Select ( float min, float max, float fallOff, ModuleBase input1, ModuleBase input2, ModuleBase controller ) : System
min float The minimum value.
max float The maximum value.
fallOff float The falloff value at the edge transition.
input1 ModuleBase The first input module.
input2 ModuleBase The second input module.
controller ModuleBase The controller of the operator.
Résultat System

SetBounds() public méthode

Sets the bounds.
public SetBounds ( float min, float max ) : void
min float The minimum value.
max float The maximum value.
Résultat void