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. تقوم أساليب بناء التحكم بإرجاع نفس المقبض بحيث يمكن ربط المكالمات بالتسلسل.