C# Class LibNoise.Operator.Translate

Provides a noise module that moves the coordinates of the input value before returning the output value from a source module. [OPERATOR]
Inheritance: ModuleBase
Show file Open project: simonwittber/LibNoise-Unity Class Usage Examples

Public Methods

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

Returns the output value for the given input coordinates.

Translate ( ) : System

Initializes a new instance of Translate.

Translate ( float x, float y, float z, ModuleBase input ) : System

Initializes a new instance of Translate.

Method Details

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

Translate() public method

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

Translate() public method

Initializes a new instance of Translate.
public Translate ( float x, float y, float z, ModuleBase input ) : System
x float The translation on the x-axis.
y float The translation on the y-axis.
z float The translation on the z-axis.
input ModuleBase The input module.
return System