C# Class LibNoise.Modifier.Blend

Noise module that outputs a weighted blend of the output values from two source modules given the output value supplied by a control module. - LeftModule outputs one of the values to blend. - RightModule outputs one of the values to blend. - ControlModule is known as the control module. The control module determines the weight of the blending operation. Negative values weigh the blend towards the output value from the LeftModule. Positive values weigh the blend towards the output value from the ReftModule. This noise module uses linear interpolation to perform the blending operation.
Inheritance: SelectorModule, IModule3D
Datei anzeigen Open project: everbytes/LibNoise

Protected Properties

Property Type Description
_controlModule IModule
_leftModule IModule
_rightModule IModule

Public Methods

Method Description
Blend ( )
Blend ( IModule controlModule, IModule rightModule, IModule leftModule )
GetValue ( float x, float y, float z ) : float

Generates an output value given the coordinates of the specified input value.

Method Details

Blend() public method

public Blend ( )

Blend() public method

public Blend ( IModule controlModule, IModule rightModule, IModule leftModule )
controlModule IModule
rightModule IModule
leftModule IModule

GetValue() public method

Generates an output value given the coordinates of the specified input value.
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.
return float

Property Details

_controlModule protected_oe property

The control module
protected IModule _controlModule
return IModule

_leftModule protected_oe property

The left input module
protected IModule _leftModule
return IModule

_rightModule protected_oe property

The right input module
protected IModule _rightModule
return IModule