Table of Contents

Class ClampedSimplexNoise

Namespace
Vintagestory.API.MathTools
Assembly
VintagestoryAPI.dll

Perlin noise of supplied amplitude and frequency. The resulting value is clamped to 0...1

public class ClampedSimplexNoise
Inheritance
ClampedSimplexNoise
Inherited Members
Extension Methods

Constructors

ClampedSimplexNoise(double[], double[], long)

public ClampedSimplexNoise(double[] amplitudes, double[] frequencies, long seed)

Parameters

amplitudes double[]
frequencies double[]
seed long

Fields

amplitudes

public double[] amplitudes

Field Value

double[]

frequencies

public double[] frequencies

Field Value

double[]

octaves

public SimplexNoiseOctave[] octaves

Field Value

SimplexNoiseOctave[]

Methods

Clone()

public ClampedSimplexNoise Clone()

Returns

ClampedSimplexNoise

Noise(double, double, double)

public virtual double Noise(double x, double y, double offset = 0)

Parameters

x double
y double
offset double

Returns

double