ImGui.Core:inputFloat4

From GiderosMobile
Revision as of 15:28, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")

Available since: Gideros 2020.9
Class: ImGui

Description

Sets four input float fields side by side (no plus/minus buttons). <syntaxhighlight lang="lua"> (number), (number), (number), (number), (bool) =

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

</source>

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

<syntaxhighlight lang="lua"> </source>