isFunctionalNode
Definition
-- @/lua/common/extensions/ui/flowgraph/editor.lua:814
local function isFunctionalNode(category)
return category == 'repeat_instant'
or category == 'once_instant'
or category == 'dynamic_instant'
or category == 'repeat_p_duration'
or category == 'once_p_duration'
or category == 'dynamic_p_duration'
or category == 'repeat_f_duration'
or category == 'once_f_duration'
or category == 'dynamic_f_duration'
or category == 'simple'
or category == 'provider'
end
Callers
@/lua/ge/extensions/core/flowgraphManager.lua
-- add automatic pins from category system
if node.category and ui_flowgraph_editor.isFunctionalNode(node.category) and not ui_flowgraph_editor.isSimpleNode(node.category) then
availablePinTypes['_in']['flow'] = true
@/lua/ge/extensions/flowgraph/basenode.lua
-- check if functional
if ui_flowgraph_editor.isFunctionalNode(self.category) then
if self.category and ui_flowgraph_editor.isFunctionalNode(self.category) then
local pos = 1
-- handle automatic flow out on all functional (non-simple) nodes
if ui_flowgraph_editor.isFunctionalNode(self.category) and not ui_flowgraph_editor.isSimpleNode(self.category) then
self.pinOut.flow.value = self.pinIn.flow.value
@/lua/ge/extensions/editor/flowgraph/references.lua
-- check if functional
if ui_flowgraph_editor.isFunctionalNode(category) then