C# Class LibNoise.FilterModule

Base class for all filter module Provides some commons or usefull properties and constants
Inheritance: IModule
Afficher le fichier Open project: everbytes/LibNoise Class Usage Examples

Protected Properties

Свойство Type Description
_frequency float
_gain float
_lacunarity float
_octaveCount float
_offset float
_source1D IModule1D
_source2D IModule2D
_source3D IModule3D
_source4D IModule4D
_spectralExponent float
_spectralWeights float[]

Méthodes protégées

Méthode Description
ComputeSpectralWeights ( ) : void

Calculates the spectral weights for each octave.

FilterModule ( ) : System

Template default constructor

FilterModule ( float frequency, float lacunarity, float exponent, float octaveCount ) : System

Template constructor

Method Details

ComputeSpectralWeights() protected méthode

Calculates the spectral weights for each octave.
protected ComputeSpectralWeights ( ) : void
Résultat void

FilterModule() protected méthode

Template default constructor
protected FilterModule ( ) : System
Résultat System

FilterModule() protected méthode

Template constructor
protected FilterModule ( float frequency, float lacunarity, float exponent, float octaveCount ) : System
frequency float
lacunarity float
exponent float
octaveCount float
Résultat System

Property Details

_frequency protected_oe property

Frequency of the first octave
protected float _frequency
Résultat float

_gain protected_oe property

protected float _gain
Résultat float

_lacunarity protected_oe property

The lacunarity specifies the frequency multipler between successive octaves. The effect of modifying the lacunarity is subtle; you may need to play with the lacunarity value to determine the effects. For best results, set the lacunarity to a number between 1.5 and 3.5.
protected float _lacunarity
Résultat float

_octaveCount protected_oe property

The number of octaves control the amount of detail of the noise. Adding more octaves increases the detail of the noise, but with the drawback of increasing the calculation time. An octave is one of the coherent-noise functions in a series of coherent-noise functions that are added together to form noise.
protected float _octaveCount
Résultat float

_offset protected_oe property

protected float _offset
Résultat float

_source1D protected_oe property

protected IModule1D _source1D
Résultat IModule1D

_source2D protected_oe property

protected IModule2D _source2D
Résultat IModule2D

_source3D protected_oe property

protected IModule3D _source3D
Résultat IModule3D

_source4D protected_oe property

protected IModule4D _source4D
Résultat IModule4D

_spectralExponent protected_oe property

protected float _spectralExponent
Résultat float

_spectralWeights protected_oe property

protected float[] _spectralWeights
Résultat float[]