ArrayInt
Definition
-- @/lua/common/extensions/ui/imgui_custom_luaintf.lua:83
function M.ArrayInt(size)
local x = table.new(size - 1, 0)
for i = 0, size - 1 do
x[i] = 0
end
return x
end
Callers
@/lua/ge/extensions/editor/api/gui.lua
local tempIntPtr = imgui.IntPtr(0)
local tempIntArr2 = imgui.ArrayInt(2)
local tempFloatPtr = imgui.FloatPtr(0)
@/lua/ge/extensions/editor/api/valueInspector.lua
self.inputLongTextSize = 0
self.input4IntValue = imgui.ArrayInt(4)
self.input4FloatValue = imgui.ArrayFloat(4)
@/lua/ge/extensions/util/screenshotCreator.lua
local currRes = getCurrentResolution()
ctrls.imageResolution = im.ArrayInt(3)
ctrls.imageResolution[0] = currRes[1]