C# Класс 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.
Наследование: SelectorModule, IModule3D
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
_controlModule IModule
_leftModule IModule
_rightModule IModule

Открытые методы

Метод Описание
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.

Описание методов

Blend() публичный Метод

public Blend ( )

Blend() публичный Метод

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

GetValue() публичный Метод

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.
Результат float

Описание свойств

_controlModule защищенное свойство

The control module
protected IModule _controlModule
Результат IModule

_leftModule защищенное свойство

The left input module
protected IModule _leftModule
Результат IModule

_rightModule защищенное свойство

The right input module
protected IModule _rightModule
Результат IModule