C# Class LibNoise.Modifiers.BiasOutput

Module that biases the output of a source module by adding a given value to the output.
Inheritance: IModule
Afficher le fichier Open project: MadoxLabs/NoiseTool

Méthodes publiques

Méthode Description
BiasOutput ( IModule sourceModule, double bias ) : System

Initialises a new instance of the BiasOutput class.

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

Returns the biased output of the source module.

Method Details

BiasOutput() public méthode

Initialises a new instance of the BiasOutput class.
public BiasOutput ( IModule sourceModule, double bias ) : System
sourceModule IModule The module from which to retrieve noise.
bias double The value to add to the output.
Résultat System

GetValue() public méthode

Returns the biased output of the source module.
public GetValue ( double x, double y, double z ) : double
x double
y double
z double
Résultat double