C# Class LibNoise.Modifiers.BiasOutput

Module that biases the output of a source module by adding a given value to the output.
Inheritance: IModule
ファイルを表示 Open project: MadoxLabs/NoiseTool

Public Methods

Method 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 method

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.
return System

GetValue() public method

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