Skip to main content

인수

ImGuiWindow
필수
ImGuiWindow object returned by imgui.create. A destroyed or invalid window raises a Lua error.
string
필수
Color editor label string passed to the rendered ImGui ColorEdit4 widget.
number
Initial red component read with luaL_optnumber; defaults to 1.0 when omitted or nil.
number
Initial green component read with luaL_optnumber; defaults to 1.0 when omitted or nil.
number
Initial blue component read with luaL_optnumber; defaults to 1.0 when omitted or nil.
number
Initial alpha component read with luaL_optnumber; defaults to 1.0 when omitted or nil.
function
필수
Function stored for this color editor and invoked with red, green, blue, and alpha after a change event is processed. It must be supplied as argument 7.

반환값

ImGuiWindow
The same ImGuiWindow object, allowing chained method calls.

타입

ImGuiWindow

imgui.create에서 반환된 핸들입니다. 컨트롤 구축 메서드는 동일한 핸들을 반환하므로 호출을 연결할 수 있습니다.