Valuator.value
double value() const nothrow @nogcGets the current value of the valuator.
Returns
The current floating-point value
bool value(double val) nothrow @nogcSets the current value of the valuator.
The value is rounded to the nearest step (if step is non-zero) and then clamped to the range minimum, maximum.
Parameters
val | The new value |
Returns
true if the value changed