Skip to content

UI.FloatInput

Name - Description Default Type
<input> The value is ignored.
<output> The value produced. Float
Variable The variable that holds the input value. None Float&Float
Prefix Display a prefix before the number. None String

A numeric input.

Examples

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

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