C# Class LibNoise.Unity.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
Datei anzeigen Open project: Keshire/Unity-polygon-map-generation

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 ( double x, double y, double z ) : double

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 ( double x, double y, double z ) : double
x double The input coordinate on the x-axis.
y double The input coordinate on the y-axis.
z double The input coordinate on the z-axis.
return double