Skip to content

UI.Int2Slider

Name Mandatory Description Default Type
⬅️ Input The value is ignored. None
Output ➡️ The value produced. Int2
Label No The 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 Int2Var(Int2)
Min No The minimum value. none Int2Var(Int2)
Max No The maximum value. none Int2Var(Int2)

A numeric slider.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
@wire(ui-wire {
  UI.Window(
    Title: "Int Slider"
    Position: @f2(0 0)
    Anchor: Anchor::Center
    Width: 700
    Height: 400
    Contents: {
      UI.Int2Slider(
        Variable: int2
        Min: @i2(1) Max: @i2(100)
      )
      ExpectInt2
    }
  )
} Looped: true)

{ui-behavior: ui-wire}