Chunks
Moddable voxel sandbox for room-scale VR.
Public Member Functions | Protected Member Functions | Protected Attributes | Properties | List of all members
LibNoise.ModuleBase Class Referenceabstract

Base class for noise modules. More...

Inheritance diagram for LibNoise.ModuleBase:
LibNoise.Generator.Billow LibNoise.Generator.Checker LibNoise.Generator.Const LibNoise.Generator.Cylinders LibNoise.Generator.Perlin LibNoise.Generator.RiggedMultifractal LibNoise.Generator.Spheres LibNoise.Generator.Voronoi LibNoise.Operator.Abs LibNoise.Operator.Add LibNoise.Operator.Blend LibNoise.Operator.Cache LibNoise.Operator.Clamp LibNoise.Operator.Curve LibNoise.Operator.Displace LibNoise.Operator.Exponent LibNoise.Operator.Invert LibNoise.Operator.Max LibNoise.Operator.Min LibNoise.Operator.Multiply LibNoise.Operator.Power LibNoise.Operator.Rotate LibNoise.Operator.Scale LibNoise.Operator.ScaleBias LibNoise.Operator.Select LibNoise.Operator.Subtract LibNoise.Operator.Terrace LibNoise.Operator.Translate LibNoise.Operator.Turbulence

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...
 

Detailed Description

Base class for noise modules.

Constructor & Destructor Documentation

LibNoise.ModuleBase.ModuleBase ( int  count)
protected

Initializes a new instance of Helpers.

Parameters
countThe number of source modules.

Member Function Documentation

void LibNoise.ModuleBase.Dispose ( )

Immediately releases the unmanaged resources used by this object.

virtual bool LibNoise.ModuleBase.Disposing ( )
protectedvirtual

Immediately releases the unmanaged resources used by this object.

Returns
True if the object is completely disposed.
abstract double LibNoise.ModuleBase.GetValue ( double  x,
double  y,
double  z 
)
pure virtual
double LibNoise.ModuleBase.GetValue ( Vector3  coordinate)

Returns the output value for the given input coordinates.

Parameters
coordinateThe input coordinate.
Returns
The resulting output value.
double LibNoise.ModuleBase.GetValue ( ref Vector3  coordinate)

Returns the output value for the given input coordinates.

Parameters
coordinateThe input coordinate.
Returns
The resulting output value.

Member Data Documentation

ModuleBase [] LibNoise.ModuleBase.m_modules = null
protected

Property Documentation

bool LibNoise.ModuleBase.IsDisposed
get

Gets a value whether the object is disposed.

int LibNoise.ModuleBase.SourceModuleCount
get

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

virtual ModuleBase LibNoise.ModuleBase.this[int index]
getset

Gets or sets a source module by index.

Parameters
indexThe index of the source module to aquire.
Returns
The requested source module.

The documentation for this class was generated from the following file: