C# Class LibNoise.Operator.ScaleBias

Provides a noise module that applies a scaling factor and a bias to the output value from a source 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.

ScaleBias ( ) : System

Initializes a new instance of ScaleBias.

ScaleBias ( float scale, float bias, ModuleBase input ) : System

Initializes a new instance of ScaleBias.

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

ScaleBias() public méthode

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

ScaleBias() public méthode

Initializes a new instance of ScaleBias.
public ScaleBias ( float scale, float bias, ModuleBase input ) : System
scale float The scaling factor to apply to the output value from the source module.
bias float The bias to apply to the scaled output value from the source module.
input ModuleBase The input module.
Résultat System