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

Provides a noise module that applies a scaling factor and a bias to the output value from a source module. [OPERATOR] More...

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

Public Member Functions

 ScaleBias ()
 Initializes a new instance of ScaleBias. More...
 
 ScaleBias (double scale, double bias, ModuleBase input)
 Initializes a new instance of ScaleBias. 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 Bias [get, set]
 Gets or sets the bias to apply to the scaled output value from the source module. More...
 
double Scale [get, set]
 Gets or sets the scaling factor to apply to the output value from the source 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 applies a scaling factor and a bias to the output value from a source module. [OPERATOR]

Constructor & Destructor Documentation

LibNoise.Operator.ScaleBias.ScaleBias ( )

Initializes a new instance of ScaleBias.

LibNoise.Operator.ScaleBias.ScaleBias ( double  scale,
double  bias,
ModuleBase  input 
)

Initializes a new instance of ScaleBias.

Parameters
scaleThe scaling factor to apply to the output value from the source module.
biasThe bias to apply to the scaled output value from the source module.
inputThe input module.

Member Function Documentation

override double LibNoise.Operator.ScaleBias.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

double LibNoise.Operator.ScaleBias.Bias
getset

Gets or sets the bias to apply to the scaled output value from the source module.

double LibNoise.Operator.ScaleBias.Scale
getset

Gets or sets the scaling factor to apply to the output value from the source module.


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