C# Class 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]
Inheritance: ModuleBase
ファイルを表示 Open project: simonwittber/LibNoise-Unity Class Usage Examples

Public Methods

Method Description
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.

Method Details

Displace() public method

Initializes a new instance of Displace.
public Displace ( ) : System
return System

Displace() public method

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.
return System

GetValue() public method

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.
return float