C# Class LibNoise.Modifiers.BlendOutput

Module that blends the output of two source modules using the output of an weight module as the blending weight.
Inheritance: IModule
Exibir arquivo Open project: MadoxLabs/NoiseTool Class Usage Examples

Public Methods

Method Description
BlendOutput ( IModule sourceModule1, IModule sourceModule2, IModule weightModule ) : System

Initialises a new instance of the Blend class.

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

Returns the result of blending the output of the two source modules using the output of the weight module as the blending weight.

Method Details

BlendOutput() public method

Initialises a new instance of the Blend class.
public BlendOutput ( IModule sourceModule1, IModule sourceModule2, IModule weightModule ) : System
sourceModule1 IModule The first module from which to retrieve noise to be blended.
sourceModule2 IModule The second module from which to retrieve noise to be blended.
weightModule IModule The module from which to retrieve noise to be used as the blending weight.
return System

GetValue() public method

Returns the result of blending the output of the two source modules using the output of the weight module as the blending weight.
public GetValue ( double x, double y, double z ) : double
x double
y double
z double
return double