GetNodePosition
Definition
-- @/=[C]:-1
function GetNodePosition(...)
Callers
@/lua/ge/extensions/flowgraph/basenode.lua
--self:updateNodePosition()
local pos = self.nodePosition--ui_flowgraph_editor.GetNodePosition(self.id)
res.pos = pos
if ui_flowgraph_editor.GetCurrentEditor() ~= nil then
local pos = ui_flowgraph_editor.GetNodePosition(self.id)
-- sanity check since GetNodePosition sometimes gives whacky results?
@/lua/ge/extensions/flowgraph/groupHelper.lua
local nodeSize = ui_flowgraph_editor.GetNodeSize(node.id)
local nodePos = ui_flowgraph_editor.GetNodePosition(node.id)
if nodeSize.x == 0 and nodeSize.y == 0 then
end
local nodePos = ui_flowgraph_editor.GetNodePosition(node.id)
if nodePos.x < -2e8 or nodePos.y < -2e8 or nodePos.x > 2e8 or nodePos.y > 2e8 then
self:centerMultiNodes(selectedNodesNodes, {groupNode})
local entryPos = ui_flowgraph_editor.GetNodePosition(entry.id)
@/lua/ge/extensions/editor/flowgraph/nodePreview.lua
ui_flowgraph_editor.SetCurrentEditor(self.fgEditor.ectx)
local pos = ui_flowgraph_editor.GetNodePosition(id)