Interface INoiseSource
Noise source interface. Represents a source of noise that can be sampled at given 2D coordinates.
Namespace: TerraProc.Core.Noise
Assembly: TerraProc.Core.dll
Syntax
public interface INoiseSource
Methods
| Edit this page View SourceSample(double, double)
Samples a noise value sample in the range of 0.0 to 1.0 for the given coordinates.
Declaration
double Sample(double x, double y)
Parameters
| Type | Name | Description |
|---|---|---|
| double | x | |
| double | y |
Returns
| Type | Description |
|---|---|
| double | A noise value between 0.0 and 1.0 |