Chunks
Moddable voxel sandbox for room-scale VR.
Public Member Functions | Properties | List of all members
LibNoise.Operator.Blend Class Reference

Provides a noise module that outputs a weighted blend of the output values from two source modules given the output value supplied by a control module. [OPERATOR] More...

Inheritance diagram for LibNoise.Operator.Blend:
LibNoise.ModuleBase

Public Member Functions

 Blend ()
 Initializes a new instance of Blend. More...
 
 Blend (ModuleBase lhs, ModuleBase rhs, ModuleBase controller)
 Initializes a new instance of Blend. 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

ModuleBase Controller [get, set]
 Gets or sets the controlling module. 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
 

Detailed Description

Provides a noise module that outputs a weighted blend of the output values from two source modules given the output value supplied by a control module. [OPERATOR]

Constructor & Destructor Documentation

LibNoise.Operator.Blend.Blend ( )

Initializes a new instance of Blend.

LibNoise.Operator.Blend.Blend ( ModuleBase  lhs,
ModuleBase  rhs,
ModuleBase  controller 
)

Initializes a new instance of Blend.

Parameters
lhsThe left hand input module.
rhsThe right hand input module.
controllerThe controller of the operator.

Member Function Documentation

override double LibNoise.Operator.Blend.GetValue ( double  x,
double  y,
double  z 
)
virtual

Returns the output value for the given input coordinates.

Parameters
xThe input coordinate on the x-axis.
yThe input coordinate on the y-axis.
zThe input coordinate on the z-axis.
Returns
The resulting output value.

Implements LibNoise.ModuleBase.

Property Documentation

ModuleBase LibNoise.Operator.Blend.Controller
getset

Gets or sets the controlling module.


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