GE Lua Documentation

Press F to search!

setViewState

Definition


-- @/=[C]:-1
function setViewState(...)

Callers

@/lua/ge/extensions/editor/flowgraph/main.lua
      end
      ui_flowgraph_editor.setViewState(graph.viewPos, graph.viewZoom)
      --print(string.format(graph.name.. " Restoring View to: %d %d / %0.2f", graph.viewPos[0].x, graph.viewPos[1].y, graph.viewZoom[0]))
      print(string.format("Restoring to: %d %d / %0.2f", graph.viewPos[0].x, graph.viewPos[1].y, graph.viewZoom[0]))
      ui_flowgraph_editor.setViewState(graph.viewPos, graph.viewZoom)
    end]]