C# Class LibNoise.Unity.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: Keshire/Unity-polygon-map-generation Class Usage Examples

Public Methods

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

Returns the output value for the given input coordinates.

Scale ( ) : System

Initializes a new instance of Scale.

Scale ( ModuleBase input ) : System

Initializes a new instance of Scale.

Scale ( double x, double y, double 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 ( 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

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 ( ModuleBase input ) : System
input ModuleBase The input module.
return System

Scale() public method

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