GE Lua Documentation

Press F to search!

BeginCreate

Definition


-- @/lua/common/extensions/ui/flowgraph/editor_api_luaintf.lua:170
  M.BeginCreate = function(color, thickness)
    if color == nil then color = im.ImVec4(1, 1, 1, 1) end
    if thickness == nil then thickness = 1.0 end
    return fge.BeginCreate(color, thickness)
  end

Callers

@/lua/ge/extensions/flowgraph/manager.lua
  local mp = im.GetMousePos()
  if ui_flowgraph_editor.BeginCreate(im.ImVec4(1, 1, 1, 1), 2) then
    self:setupCreationWorkflow()
@/lua/common/extensions/ui/flowgraph/editor_api_luaintf.lua
    if thickness == nil then thickness = 1.0 end
    return fge.BeginCreate(color, thickness)
  end