Skip to content

UI.FloatSlider

Name Mandatory Description Default Type
⬅️ Input The value is ignored. None
Output ➡️ The value produced. Float
Label No The text label for this widget. none StringNone
Style No The text style. none {Any}Var({Any})
Variable No The variable that holds the input value. none FloatVar(Float)
Min No The minimum value. none FloatVar(Float)
Max No The maximum value. none FloatVar(Float)

A numeric slider.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
@wire(ui-wire {
  UI.Window(
    Title: "UI FLoat Slider"
    Position: @f2(0 0)
    Anchor: Anchor::Center
    Width: 700
    Height: 400
    Contents: {
      {
        UI.FloatSlider(
          Variable: float
          Min: 0.0 Max: 1.0
        )
        ExpectFloat
      }
    }
  )
} Looped: true)

{ui-behavior: ui-wire}