C# Класс LibNoise.Modifier.Clamp

Noise module that clamps the output value from a source module to a range of values. The range of values in which to clamp the output value is called the clamping range. If the output value from the source module is less than the lower bound of the clamping range, this noise module clamps that value to the lower bound. If the output value from the source module is greater than the upper bound of the clamping range, this noise module clamps that value to the upper bound.
Наследование: ModifierModule, IModule3D
Показать файл Открыть проект

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

Свойство Тип Описание
_lowerBound float
_upperBound float

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

Метод Описание
Clamp ( )
Clamp ( IModule source )
Clamp ( IModule source, float lower, float upper )
GetValue ( float x, float y, float z ) : float

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

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

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

public Clamp ( )

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

public Clamp ( IModule source )
source IModule

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

public Clamp ( IModule source, float lower, float upper )
source IModule
lower float
upper float

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

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

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

protected float _lowerBound
Результат float

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

protected float _upperBound
Результат float