C# Class LibNoise.Unity.ModuleBase

Base class for noise modules.
Inheritance: IDisposable
Mostra file Open project: Keshire/Unity-polygon-map-generation Class Usage Examples

Protected Properties

Property Type Description
m_modules LibNoise.Unity.ModuleBase[]

Public Methods

Method Description
Dispose ( ) : void

Immediately releases the unmanaged resources used by this object.

GetValue ( Vector3 coordinate ) : double

Returns the output value for the given input coordinates.

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

Returns the output value for the given input coordinates.

this ( int index ) : ModuleBase

Gets or sets a source module by index.

Protected Methods

Method Description
Disposing ( ) : bool

Immediately releases the unmanaged resources used by this object.

ModuleBase ( int count ) : System

Initializes a new instance of Helpers.

Method Details

Dispose() public method

Immediately releases the unmanaged resources used by this object.
public Dispose ( ) : void
return void

Disposing() protected method

Immediately releases the unmanaged resources used by this object.
protected Disposing ( ) : bool
return bool

GetValue() public method

Returns the output value for the given input coordinates.
public GetValue ( Vector3 coordinate ) : double
coordinate Vector3 The input coordinate.
return double

GetValue() public abstract method

Returns the output value for the given input coordinates.
public abstract 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

ModuleBase() protected method

Initializes a new instance of Helpers.
protected ModuleBase ( int count ) : System
count int The number of source modules.
return System

this() public method

Gets or sets a source module by index.
public this ( int index ) : ModuleBase
index int The index of the source module to aquire.
return ModuleBase

Property Details

m_modules protected_oe property

protected ModuleBase[],LibNoise.Unity m_modules
return LibNoise.Unity.ModuleBase[]