isDurationNode
Definition
-- @/lua/common/extensions/ui/flowgraph/editor.lua:833
local function isDurationNode(category)
return 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'
end
Callers
@/lua/ge/extensions/flowgraph/basenode.lua
-- check if duration
if ui_flowgraph_editor.isDurationNode(self.category) then
self:addBehaviour('duration')
@/lua/ge/extensions/editor/flowgraph/references.lua
-- check if duration
if ui_flowgraph_editor.isDurationNode(category) then
self.nodeTable[nodeName].behaviour['duration'] = true