GE Lua Documentation

Press F to search!

SetWindowSize2

Definition


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

Callers

@/lua/ge/extensions/editor/inspector.lua
      groundCoverHVal[0] = tonumber(vec[4])
      imgui.SetWindowSize2(groundCoverUVWindowName, imgui.ImVec2(800, 600))
      imgui.OpenPopup(groundCoverUVWindowName)
@/lua/common/extensions/ui/imgui_gen_luaintf.lua
  if string_name == nil then log("E", "", "Parameter 'string_name' of function 'SetWindowSize2' cannot be nil, as the c type is 'const char *'") ; return end
  imgui.SetWindowSize2(string_name, ImVec2_size, ImGuiCond_cond)
end