Class FloatSteppedSetter

    • Constructor Detail

      • FloatSteppedSetter

        public FloatSteppedSetter​(String parameterName,
                                  float base,
                                  float max,
                                  float step)
        Constructs this with the given base value, step size, and maximum value. This is guaranteed to produce Math.rint((max - base) / step) number of steps.
        Parameters:
        parameterName - the name of the parameter
        base - the beginning value
        max - the maximum value (inclusive)
        step - the step size