Chunks
Moddable voxel sandbox for room-scale VR.
|
Provides a noise module that outputs the value selected from one of two source modules chosen by the output value from a control module. [OPERATOR] More...
Public Member Functions | |
Select () | |
Initializes a new instance of Select. More... | |
Select (double min, double max, double fallOff, ModuleBase input, ModuleBase controller) | |
Initializes a new instance of Select. More... | |
void | SetBounds (double min, double max) |
Sets the bounds. 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... | |
double | FallOff [get, set] |
Gets or sets the falloff value at the edge transition. More... | |
double | Maximum [get, set] |
Gets or sets the maximum. More... | |
double | Minimum [get, set] |
Gets or sets the minimum. 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 outputs the value selected from one of two source modules chosen by the output value from a control module. [OPERATOR]
LibNoise.Operator.Select.Select | ( | ) |
Initializes a new instance of Select.
LibNoise.Operator.Select.Select | ( | double | min, |
double | max, | ||
double | fallOff, | ||
ModuleBase | input, | ||
ModuleBase | controller | ||
) |
Initializes a new instance of Select.
min | The minimum value. |
max | The maximum value. |
fallOff | The falloff value at the edge transition. |
input | The input module. |
controller | The controller of the operator. |
|
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.
void LibNoise.Operator.Select.SetBounds | ( | double | min, |
double | max | ||
) |
Sets the bounds.
min | The minimum value. |
max | The maximum value. |
|
getset |
Gets or sets the controlling module.
|
getset |
Gets or sets the falloff value at the edge transition.
|
getset |
Gets or sets the maximum.
|
getset |
Gets or sets the minimum.