Skip to content

UI.FloatSlider

Name - Description Default Type
<input> The value is ignored.
<output> The value produced. Float
Label The text label for this widget. None String
Style The text style. None {Any}&{Any}
Variable The variable that holds the input value. None Float&Float
Min The minimum value. None Float&Float
Max The maximum value. None Float&Float

A numeric slider.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
(GFX.MainWindow
 :Contents
 (->
  (Setup
   (GFX.DrawQueue) >= .ui-draw-queue
   (GFX.UIPass .ui-draw-queue) >> .render-steps)
  (UI
   .ui-draw-queue
   (UI.CentralPanel
    (->
     (UI.FloatSlider
      :Variable .float
      :Min 0.0 :Max 1.0)
     (ExpectFloat))))

  (GFX.Render :Steps .render-steps)))