Show / Hide Table of Contents

Class NoiseTerrainGenerator

Noise-based terrain generator that samples a noise function, with various octave and band transformations.

Inheritance
object
NoiseTerrainGenerator
Implements
ITerrainGenerator
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: TerraProc.Core.Generation
Assembly: TerraProc.Core.dll
Syntax
public class NoiseTerrainGenerator : ITerrainGenerator

Constructors

| Edit this page View Source

NoiseTerrainGenerator(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 Source

Generate(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.

Implements

ITerrainGenerator
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX