setSliderValue

fun <S : Inputtable> S.setSliderValue(value: Float, min: Float = 0.0f, max: Float = 100.0f): S

Set the value on this slider. Unfortunately due to current limitations you must provide the min and max values that were used for this slider.

Ensure this object is a slider before running this method, as otherwise strange errors may occur.

Since

1.7.2