Skip to content

UI.Float4Slider

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

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 4 Slider"
    Position: @f2(0 0)
    Anchor: Anchor::Center
    Width: 700
    Height: 400
    Contents: {
      {
        UI.Float4Slider(
          Variable: float4
          Min: @f4(0) Max: @f4(1)
        )
        ExpectFloat4
      }
    }
  )
} Looped: true)

{ui-behavior: ui-wire}