C# Class LibNoise.Unity.ModuleBase

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

Protected Properties

Свойство Type Description
m_modules LibNoise.Unity.ModuleBase[]

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode 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 méthode

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

Disposing() protected méthode

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

GetValue() public méthode

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

GetValue() public abstract méthode

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.
Résultat double

ModuleBase() protected méthode

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

this() public méthode

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

Property Details

m_modules protected_oe property

protected ModuleBase[],LibNoise.Unity m_modules
Résultat LibNoise.Unity.ModuleBase[]