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

Provides a noise module that clamps the output value from a source module to a range of values. [OPERATOR]
Наследование: ModuleBase
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Clamp ( ) : System

Initializes a new instance of Clamp.

Clamp ( float min, float max, ModuleBase input ) : System

Initializes a new instance of Clamp.

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

Returns the output value for the given input coordinates.

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

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

Initializes a new instance of Clamp.
public Clamp ( ) : System
Результат System

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

Initializes a new instance of Clamp.
public Clamp ( float min, float max, ModuleBase input ) : System
min float The minimum value.
max float The maximum value.
input ModuleBase The input module.
Результат System

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

Returns the output value for the given input coordinates.
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