Skip to content

API reference Obsidian.API.Noise

SimplexNoise class

Vanilla simplex noise (SimplexNoise), used by PerlinSimplexNoise and the End islands.

public sealed class SimplexNoise

In Obsidian.API.

Constructors

SimplexNoise(IRandomSource)

public SimplexNoise(IRandomSource random);

Creates a noise, consuming 3 doubles and 256 bounded ints from random.

Properties

public double Xo { get; }public double Yo { get; }public double Zo { get; }

Methods

GetValue(double, double)

public double GetValue(double x, double y);

2D simplex noise in roughly [-1, 1].

GetValue(double, double, double)

public double GetValue(double x, double y, double z);

3D simplex noise in roughly [-1, 1].

On this page