Class SimpleNoiseTerrainGenerator
Simple terrain generator that samples a single noise function. It does no octave layering or other complex operations.
Implements
Inherited Members
Namespace: TerraProc.Core.Generation
Assembly: TerraProc.Core.dll
Syntax
public class SimpleNoiseTerrainGenerator : ITerrainGenerator
Constructors
| Edit this page View SourceSimpleNoiseTerrainGenerator(INoiseSource)
Simple terrain generator that samples a single noise function. It does no octave layering or other complex operations.
Declaration
public SimpleNoiseTerrainGenerator(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. |