ImGui.Core:inputScalar

Available since: Gideros 2020.9
Class: ImGui

Description

Sets an input scalar field.

(number), (bool) =
  ImGui:inputScalar(label, ImGuiDataType, value, v_min, v_max, format, [ImGuiInputTextFlags=0])

Parameters

label: (string) the label
ImGuiDataType: (number) one of ImGui data type
value: (number) the value to be displayed
v_min: (number) the minimum value
v_max: (number) the maximum value
format: (string) the format of the displayed value
ImGuiInputTextFlags : (number) the input text flag

Return values

Returns (number) the current value
Returns (bool) whether the current value has changed

Example

--- ???