Show / Hide Table of Contents

Interface INoiseSource

Noise source interface. Represents a source of noise that can be sampled at given 2D coordinates.

Namespace: TerraProc.Core.Noise
Assembly: TerraProc.Core.dll
Syntax
public interface INoiseSource

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

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