Billow

Noise module that outputs three-dimensional "billowy" noise.

@image html modulebillow.png

This noise module generates "billowy" noise suitable for clouds and rocks.

This noise module is nearly identical to noise::module::Perlin except this noise module modifies each octave with an absolute-value function. See the documentation of noise::module::Perlin for more information.

Constructors

this
this()

Constructor.

Members

Functions

GetFrequency
double GetFrequency()

Returns the frequency of the first octave.

GetLacunarity
double GetLacunarity()

Returns the lacunarity of the billowy noise.

GetNoiseQuality
NoiseQuality GetNoiseQuality()

Returns the quality of the billowy noise.

GetOctaveCount
int GetOctaveCount()

Returns the number of octaves that generate the billowy noise.

GetPersistence
double GetPersistence()

Returns the persistence value of the billowy noise.

GetSeed
int GetSeed()

Returns the seed value used by the billowy-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 billowy noise.

SetNoiseQuality
void SetNoiseQuality(NoiseQuality noiseQuality)

Sets the quality of the billowy noise.

SetOctaveCount
void SetOctaveCount(int octaveCount)

Sets the number of octaves that generate the billowy noise.

SetPersistence
void SetPersistence(double persistence)

Sets the persistence value of the billowy noise.

SetSeed
void SetSeed(int seed)

Sets the seed value used by the billowy-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 billowy noise.

m_octaveCount
int m_octaveCount;

Total number of octaves that generate the billowy noise.

m_persistence
double m_persistence;

Persistence value of the billowy noise.

m_seed
int m_seed;

Seed value used by the billowy-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