C# Class LibNoise.Generator.Spheres

Provides a noise module that outputs concentric spheres. [GENERATOR]
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.

Spheres ( ) : System

Initializes a new instance of Spheres.

Spheres ( float frequency ) : System

Initializes a new instance of Spheres.

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

Spheres() public method

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

Spheres() public method

Initializes a new instance of Spheres.
public Spheres ( float frequency ) : System
frequency float The frequency of the concentric spheres.
return System