C# Class LibNoise.Operator.Scale

Provides a noise module that scales the coordinates of the input value before returning the output value from a source module. [OPERATOR]
Inheritance: ModuleBase
Mostra 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.

Scale ( ) : System

Initializes a new instance of Scale.

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

Initializes a new instance of Scale.

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

Scale() public method

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

Scale() public method

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