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
Afficher le fichier Open project: MadoxLabs/NoiseTool Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

GetValue() public méthode

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