Chunks
Moddable voxel sandbox for room-scale VR.
|
Provides a noise module that that randomly displaces the input value before returning the output value from a source module. [OPERATOR] More...
Public Member Functions | |
Turbulence () | |
Initializes a new instance of Turbulence. More... | |
Turbulence (double power, ModuleBase input) | |
Initializes a new instance of Turbulence. More... | |
Turbulence (Perlin x, Perlin y, Perlin z, double power, ModuleBase input) | |
Initializes a new instance of Turbulence. More... | |
override double | GetValue (double x, double y, double z) |
Returns the output value for the given input coordinates. More... | |
Public Member Functions inherited from LibNoise.ModuleBase | |
double | GetValue (Vector3 coordinate) |
Returns the output value for the given input coordinates. More... | |
double | GetValue (ref Vector3 coordinate) |
Returns the output value for the given input coordinates. More... | |
void | Dispose () |
Immediately releases the unmanaged resources used by this object. More... | |
Properties | |
double | Frequency [get, set] |
Gets or sets the frequency of the turbulence. More... | |
double | Power [get, set] |
Gets or sets the power of the turbulence. More... | |
int | Roughness [get, set] |
Gets or sets the roughness of the turbulence. More... | |
int | Seed [get, set] |
Gets or sets the seed of the turbulence. More... | |
Properties inherited from LibNoise.ModuleBase | |
virtual ModuleBase | this[int index] [get, set] |
Gets or sets a source module by index. More... | |
int | SourceModuleCount [get] |
Gets the number of source modules required by this noise module. More... | |
bool | IsDisposed [get] |
Gets a value whether the object is disposed. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from LibNoise.ModuleBase | |
ModuleBase (int count) | |
Initializes a new instance of Helpers. More... | |
virtual bool | Disposing () |
Immediately releases the unmanaged resources used by this object. More... | |
Protected Attributes inherited from LibNoise.ModuleBase | |
ModuleBase[] | m_modules = null |
Provides a noise module that that randomly displaces the input value before returning the output value from a source module. [OPERATOR]
LibNoise.Operator.Turbulence.Turbulence | ( | ) |
Initializes a new instance of Turbulence.
LibNoise.Operator.Turbulence.Turbulence | ( | double | power, |
ModuleBase | input | ||
) |
Initializes a new instance of Turbulence.
LibNoise.Operator.Turbulence.Turbulence | ( | Perlin | x, |
Perlin | y, | ||
Perlin | z, | ||
double | power, | ||
ModuleBase | input | ||
) |
Initializes a new instance of Turbulence.
x | The perlin noise to apply on the x-axis. |
y | The perlin noise to apply on the y-axis. |
z | The perlin noise to apply on the z-axis. |
power | The power of the turbulence. |
input | The input module. |
|
virtual |
Returns the output value for the given input coordinates.
x | The input coordinate on the x-axis. |
y | The input coordinate on the y-axis. |
z | The input coordinate on the z-axis. |
Implements LibNoise.ModuleBase.
|
getset |
Gets or sets the frequency of the turbulence.
|
getset |
Gets or sets the power of the turbulence.
|
getset |
Gets or sets the roughness of the turbulence.
|
getset |
Gets or sets the seed of the turbulence.