ImGui.Core:filledSliderFloat4

From GiderosMobile
Revision as of 06:28, 31 March 2021 by MoKaLux (talk | contribs) (Created page with "__NOTOC__ '''Available since:''' Gideros 2020.9<br/> '''Class:''' ImGui<br/> === Description === Displays four regular filled float slider side by side. <source lang="lua...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Available since: Gideros 2020.9
Class: ImGui

Description

Displays four regular filled float slider side by side.

(number), (number), (number), (number), (bool) =
  ImGui:filledSliderFloat2(label, mirrorFlag, value1, value2, value3, value4, [min=0, max=0,
    formatString="%.3f", ImGuiSliderFlags=0])

Parameters

label: (string) the label
mirrorFlag: (bool) whether to mirror the slider or not
value1: (number) the current first value
value2: (number) the current second value
value3: (number) the current third value
value4: (number) the current fourth value
min: (number) the min value
max: (number) the max value
formatString: (string) the format of the value
ImGuiSliderFlags: (number) the drag slider flag

Return values

Returns (number) the current first value
Returns (number) the current second value
Returns (number) the current third value
Returns (number) the current fourth value
Returns (bool) whether a value has changed

Example