Class NoiseTerrainGenerator
Noise-based terrain generator that samples a noise function, with various octave and band transformations.
Implements
Inherited Members
Namespace: TerraProc.Core.Generation
Assembly: TerraProc.Core.dll
Syntax
public class NoiseTerrainGenerator : ITerrainGenerator
Constructors
| Edit this page View SourceNoiseTerrainGenerator(INoiseSource)
Noise-based terrain generator that samples a noise function, with various octave and band transformations.
Declaration
public NoiseTerrainGenerator(INoiseSource noise)
Parameters
| Type | Name | Description |
|---|---|---|
| INoiseSource | noise | Noise source to use for the generation. |
Methods
| Edit this page View SourceGenerate(ChunkCoords)
Generates terrain data for the specified chunk coordinates, synchronously.
Declaration
public ChunkData Generate(ChunkCoords coords)
Parameters
| Type | Name | Description |
|---|---|---|
| ChunkCoords | coords | The coordinates of the chunk to generate. |
Returns
| Type | Description |
|---|---|
| ChunkData | The generated chunk data instance. |