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

Provides a noise module that uses three source modules to displace each coordinate of the input value before returning the output value from a source module. [OPERATOR]
Наследование: ModuleBase
Показать файл Открыть проект Примеры использования класса

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

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

Initializes a new instance of Displace.

Displace ( ModuleBase input, ModuleBase x, ModuleBase y, ModuleBase z ) : System

Initializes a new instance of Displace.

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

Returns the output value for the given input coordinates.

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

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

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

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

Initializes a new instance of Displace.
public Displace ( ModuleBase input, ModuleBase x, ModuleBase y, ModuleBase z ) : System
input ModuleBase The input module.
x ModuleBase The displacement module of the x-axis.
y ModuleBase The displacement module of the y-axis.
z ModuleBase The displacement module of the z-axis.
Результат 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