Update Files
This commit is contained in:
21
leenkx/blender/lnx/logicnode/logic/LN_function_output.py
Normal file
21
leenkx/blender/lnx/logicnode/logic/LN_function_output.py
Normal file
@ -0,0 +1,21 @@
|
||||
from lnx.logicnode.lnx_nodes import *
|
||||
|
||||
|
||||
class FunctionOutputNode(LnxLogicTreeNode):
|
||||
"""Sets the return value for the given function.
|
||||
|
||||
@seeNode Function"""
|
||||
bl_idname = 'LNFunctionOutputNode'
|
||||
bl_label = 'Function Output'
|
||||
lnx_section = 'function'
|
||||
lnx_version = 1
|
||||
|
||||
def lnx_init(self, context):
|
||||
self.add_input('LnxNodeSocketAction', 'In')
|
||||
self.add_input('LnxDynamicSocket', 'Value')
|
||||
|
||||
function_name: StringProperty(name="Name")
|
||||
|
||||
def draw_buttons(self, context, layout):
|
||||
row = layout.row(align=True)
|
||||
row.prop(self, 'function_name')
|
Reference in New Issue
Block a user