C# Class LibNoise.Unity.Operator.Clamp

Provides a noise module that clamps the output value from a source module to a range of values. [OPERATOR]
Inheritance: ModuleBase
Afficher le fichier Open project: Keshire/Unity-polygon-map-generation

Méthodes publiques

Méthode Description
Clamp ( ) : System

Initializes a new instance of Clamp.

Clamp ( ModuleBase input ) : System

Initializes a new instance of Clamp.

Clamp ( double min, double max, ModuleBase input ) : System

Initializes a new instance of Clamp.

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

Returns the output value for the given input coordinates.

SetBounds ( double min, double max ) : void

Sets the bounds.

Method Details

Clamp() public méthode

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

Clamp() public méthode

Initializes a new instance of Clamp.
public Clamp ( ModuleBase input ) : System
input ModuleBase The input module.
Résultat System

Clamp() public méthode

Initializes a new instance of Clamp.
public Clamp ( double min, double max, ModuleBase input ) : System
min double The minimum value.
max double The maximum value.
input ModuleBase The input module.
Résultat System

GetValue() public méthode

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

SetBounds() public méthode

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