C# Class LibNoise.Operator.Cache

Provides a noise module that caches the last output value generated by a source module. [OPERATOR]
Inheritance: ModuleBase
Afficher le fichier Open project: simonwittber/LibNoise-Unity Class Usage Examples

Méthodes publiques

Méthode Description
Cache ( ) : System

Initializes a new instance of Cache.

Cache ( ModuleBase input ) : System

Initializes a new instance of Cache.

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.

Method Details

Cache() public méthode

Initializes a new instance of Cache.
public Cache ( ) : System
Résultat System

Cache() public méthode

Initializes a new instance of Cache.
public Cache ( ModuleBase input ) : System
input ModuleBase
Résultat System

GetValue() public méthode

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

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