Chunks
Moddable voxel sandbox for room-scale VR.
|
Base class for noise modules. More...
Public Member Functions | |
abstract double | GetValue (double x, double y, double z) |
Returns the output value for the given input coordinates. More... | |
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... | |
Protected Member Functions | |
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 | |
ModuleBase[] | m_modules = null |
Properties | |
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... | |
Base class for noise modules.
|
protected |
Initializes a new instance of Helpers.
count | The number of source modules. |
void LibNoise.ModuleBase.Dispose | ( | ) |
Immediately releases the unmanaged resources used by this object.
|
protectedvirtual |
Immediately releases the unmanaged resources used by this object.
|
pure 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. |
Implemented in LibNoise.Operator.Turbulence, LibNoise.Generator.RiggedMultifractal, LibNoise.Operator.Select, LibNoise.Operator.Rotate, LibNoise.Operator.Terrace, LibNoise.Generator.Billow, LibNoise.Generator.Perlin, LibNoise.Operator.Curve, LibNoise.Generator.Voronoi, LibNoise.Operator.Displace, LibNoise.Operator.Scale, LibNoise.Operator.Translate, LibNoise.Operator.Clamp, LibNoise.Operator.ScaleBias, LibNoise.Operator.Cache, LibNoise.Operator.Blend, LibNoise.Operator.Exponent, LibNoise.Generator.Const, LibNoise.Generator.Cylinders, LibNoise.Generator.Spheres, LibNoise.Operator.Add, LibNoise.Operator.Max, LibNoise.Operator.Min, LibNoise.Operator.Multiply, LibNoise.Operator.Power, LibNoise.Operator.Subtract, LibNoise.Operator.Abs, LibNoise.Operator.Invert, and LibNoise.Generator.Checker.
double LibNoise.ModuleBase.GetValue | ( | Vector3 | coordinate | ) |
Returns the output value for the given input coordinates.
coordinate | The input coordinate. |
double LibNoise.ModuleBase.GetValue | ( | ref Vector3 | coordinate | ) |
Returns the output value for the given input coordinates.
coordinate | The input coordinate. |
|
protected |
|
get |
Gets a value whether the object is disposed.
|
get |
Gets the number of source modules required by this noise module.
|
getset |
Gets or sets a source module by index.
index | The index of the source module to aquire. |