GE Lua Documentation

Press F to search!

ColorPicker3

Definition


-- @/lua/common/extensions/ui/imgui_gen_luaintf.lua:686
function M.ColorPicker3(string_label, floatPtr_col, ImGuiColorEditFlags_flags)
  if ImGuiColorEditFlags_flags == nil then ImGuiColorEditFlags_flags = 0 end
  if string_label == nil then log("E", "", "Parameter 'string_label' of function 'ColorPicker3' cannot be nil, as the c type is 'const char *'") ; return end
  return imgui.ColorPicker3(string_label, floatPtr_col, ImGuiColorEditFlags_flags)
end

Callers

@/lua/ge/extensions/editor/api/gui.lua
local function uiColorPicker3(label, col, flags, editEnded)
  local res = imgui.ColorPicker3(label, col, flags)
  if editEnded then
@/lua/common/extensions/ui/imgui_gen_luaintf.lua
  if string_label == nil then log("E", "", "Parameter 'string_label' of function 'ColorPicker3' cannot be nil, as the c type is 'const char *'") ; return end
  return imgui.ColorPicker3(string_label, floatPtr_col, ImGuiColorEditFlags_flags)
end