C# Class LibNoise.ModuleBase

Base class for noise modules.
Inheritance: IDisposable
Mostra file Open project: simonwittber/LibNoise-Unity Class Usage Examples

Protected Properties

Property Type Description
m_modules LibNoise.ModuleBase[]

Public Methods

Method Description
Dispose ( ) : void

Immediately releases the unmanaged resources used by this object.

GetValue ( Vector3 coordinate ) : float

Returns the output value for the given input coordinates.

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

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 ) : float
coordinate Vector3 The input coordinate.
return float

GetValue() public abstract method

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

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 m_modules
return LibNoise.ModuleBase[]