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

Noise module that maps the output value from a source module onto an exponential curve. Because most noise modules will output values that range from -1.0 to +1.0, this noise module first normalizes this output value (the range becomes 0.0 to 1.0), maps that value onto an exponential curve, then rescales that value back to the original range.
Наследование: ModifierModule, IModule3D
Показать файл Открыть проект

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

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

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

Метод Описание
Exponent ( ) : System
Exponent ( IModule source ) : System
Exponent ( IModule source, float exponent ) : System
GetValue ( float x, float y, float z ) : float

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

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

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

public Exponent ( ) : System
Результат System

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

public Exponent ( IModule source ) : System
source IModule
Результат System

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

public Exponent ( IModule source, float exponent ) : System
source IModule
exponent float
Результат System

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

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

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

Exponent to apply to the output value from the source module.
protected float _exponent
Результат float