Simplex

Undocumented in source.

Constructors

this
this()

Constructor.

Members

Functions

GetFrequency
double GetFrequency()

Returns the frequency of the first octave.

GetLacunarity
double GetLacunarity()

Returns the lacunarity of the Perlin noise.

GetNoiseQuality
NoiseQuality GetNoiseQuality()

Returns the quality of the Perlin noise.

GetOctaveCount
int GetOctaveCount()

Returns the number of octaves that generate the Perlin noise.

GetPersistence
double GetPersistence()

Returns the persistence value of the Perlin noise.

GetSeed
int GetSeed()

Returns the seed value used by the Perlin-noise function.

GetSourceModCount
int GetSourceModCount()
Undocumented in source. Be warned that the author may not have intended to support it.
GetValue
double GetValue(double x, double y, double z)
Undocumented in source. Be warned that the author may not have intended to support it.
SetFrequency
void SetFrequency(double frequency)

Sets the frequency of the first octave.

SetLacunarity
void SetLacunarity(double lacunarity)

Sets the lacunarity of the Perlin noise.

SetNoiseQuality
void SetNoiseQuality(NoiseQuality noiseQuality)

Sets the quality of the Perlin noise.

SetOctaveCount
void SetOctaveCount(int octaveCount)

Sets the number of octaves that generate the Perlin noise.

SetPersistence
void SetPersistence(double persistence)

Sets the persistence value of the Perlin noise.

SetSeed
void SetSeed(int seed)

Sets the seed value used by the Perlin-noise function.

Variables

m_frequency
double m_frequency;

Frequency of the first octave.

m_lacunarity
double m_lacunarity;

Frequency multiplier between successive octaves.

m_noiseQuality
NoiseQuality m_noiseQuality;

Quality of the Perlin noise.

m_octaveCount
int m_octaveCount;

Total number of octaves that generate the Perlin noise.

m_persistence
double m_persistence;

Persistence of the Perlin noise.

m_seed
int m_seed;

Seed value used by the Perlin-noise function.

Inherited Members

From Mod

~this
~this()

Destructor.

GetSourceMod
const(Mod) GetSourceMod(int index)

Returns a reference to a source module connected to this noise module.

GetSourceModCount
int GetSourceModCount()

Returns the number of source modules required by this noise module.

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

Generates an output value given the coordinates of the specified input value.

SetSourceMod
void SetSourceMod(int index, const(Mod)* sourceMod)

Connects a source module to this noise module.

m_pSourceMod
const(Mod)*[] m_pSourceMod;

An array containing the pointers to each source module required by this noise module.

Meta