ImGui.Core:inputFloat4

Available since: Gideros 2020.9
Class: ImGui

Description

Sets four input float fields side by side (no plus/minus buttons).

(number), (number), (number), (number), (bool) =
  ImGui:inputFloat4(label, value1, value2, value3, value4, [format="%.3f", ImGuiInputTextFlags=0])

Parameters

label: (string) the label
value1: (number) the first value to be displayed
value2: (number) the second value to be displayed
value3: (number) the third value to be displayed
value4: (number) the fourth value to be displayed
format: (string) the format of the displayed value
ImGuiInputTextFlags : (number) the input text 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 current value has changed

Example