Update Files
This commit is contained in:
15
leenkx/blender/lnx/logicnode/logic/LN_once_per_frame.py
Normal file
15
leenkx/blender/lnx/logicnode/logic/LN_once_per_frame.py
Normal file
@ -0,0 +1,15 @@
|
||||
from lnx.logicnode.lnx_nodes import *
|
||||
|
||||
|
||||
class OncePerFrameNode(LnxLogicTreeNode):
|
||||
"""Activates the output only once per frame if receives one or more inputs in that frame
|
||||
If there is no input, there will be no output"""
|
||||
bl_idname = 'LNOncePerFrameNode'
|
||||
bl_label = 'Once Per Frame'
|
||||
lnx_section = 'flow'
|
||||
lnx_version = 1
|
||||
|
||||
def lnx_init(self, context):
|
||||
self.add_input('LnxNodeSocketAction', 'In')
|
||||
|
||||
self.add_output('LnxNodeSocketAction', 'Out')
|
Reference in New Issue
Block a user