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

Provides a noise module that that randomly displaces the input value before returning the output value from a source module. [OPERATOR]
Наследование: ModuleBase
Показать файл Открыть проект

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

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

Returns the output value for the given input coordinates.

Turbulence ( ) : System

Initializes a new instance of Turbulence.

Turbulence ( Perlin x, Perlin y, Perlin z, float power, ModuleBase input ) : System

Initializes a new instance of Turbulence.

Turbulence ( float power, ModuleBase input ) : System

Initializes a new instance of Turbulence.

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

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

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

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

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

Initializes a new instance of Turbulence.
public Turbulence ( Perlin x, Perlin y, Perlin z, float power, ModuleBase input ) : System
x LibNoise.Generator.Perlin The perlin noise to apply on the x-axis.
y LibNoise.Generator.Perlin The perlin noise to apply on the y-axis.
z LibNoise.Generator.Perlin The perlin noise to apply on the z-axis.
power float The power of the turbulence.
input ModuleBase The input module.
Результат System

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

Initializes a new instance of Turbulence.
public Turbulence ( float power, ModuleBase input ) : System
power float
input ModuleBase
Результат System