Skip to main content

Argumentos

ImGuiWindow
obrigatório
ImGuiWindow returned by imgui.create. If the object is invalid or has already been destroyed, the method raises a Lua error.
string
obrigatório
Slider label required to be a string.
integer
obrigatório
Initial slider value required to be an integer and stored as the current int value.
integer
obrigatório
Minimum value required to be an integer and passed to an integer slider.
integer
obrigatório
Maximum value required to be an integer and passed to an integer slider.
(number) -> ()
obrigatório
Callback called with the updated integer value when the slider changes.

Retornos

ImGuiWindow
The same ImGuiWindow object, allowing chained method calls.

Tipos

ImGuiWindow

Identificador retornado por imgui.create. Os métodos de construção de controle retornam o mesmo identificador para que as chamadas possam ser encadeadas.