Skip to content

UI.Float4Slider

Name Mandatory Description Default Type
⬅️ Input The value is ignored. None
Output ➡️ The value produced. Float4
Label No The label for this widget. None StringNone
Style Yes The text style. None {Any}&{Any}
Variable Yes The variable that holds the input value. None Float4&Float4
Min Yes The minimum value. None Float4&Float4
Max Yes 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}