Show / Hide Table of Contents

Class SimpleNoiseTerrainGenerator

Simple terrain generator that samples a single noise function. It does no octave layering or other complex operations.

Inheritance
object
SimpleNoiseTerrainGenerator
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 SimpleNoiseTerrainGenerator : ITerrainGenerator

Constructors

| Edit this page View Source

SimpleNoiseTerrainGenerator(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 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