19 lines
607 B
Python
19 lines
607 B
Python
from lnx.logicnode.lnx_nodes import *
|
|
|
|
class SetHaxePropertyNode(LnxLogicTreeNode):
|
|
"""Sets a property of an Haxe object (via the Reflection API).
|
|
|
|
@seeNode Get Haxe Property"""
|
|
bl_idname = 'LNSetHaxePropertyNode'
|
|
bl_label = 'Set Haxe Property'
|
|
lnx_section = 'haxe'
|
|
lnx_version = 1
|
|
|
|
def lnx_init(self, context):
|
|
self.add_input('LnxNodeSocketAction', 'In')
|
|
self.add_input('LnxDynamicSocket', 'Dynamic')
|
|
self.add_input('LnxStringSocket', 'Property')
|
|
self.add_input('LnxDynamicSocket', 'Value')
|
|
|
|
self.add_output('LnxNodeSocketAction', 'Out')
|