Show / Hide Table of Contents

Class PerlinNoise

Perlin noise implementation.

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

Constructors

| Edit this page View Source

PerlinNoise(Seed)

Perlin noise implementation.

Declaration
public PerlinNoise(Seed seed)
Parameters
Type Name Description
Seed seed

Seed for the noise generation.

Methods

| Edit this page View Source

Sample(double, double)

Samples a noise value sample in the range of 0.0 to 1.0 for the given coordinates.

Declaration
public 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

Implements

INoiseSource

Extension Methods

NoiseProviderExtensions.SampleBand(INoiseSource, double, double, double, double)
NoiseProviderExtensions.SampleOctaves(INoiseSource, double, double, int, double)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX