LNXSDK/leenkx/blender/lnx/logicnode/native/LN_set_haxe_property.py

19 lines
607 B
Python
Raw Normal View History

2025-01-22 16:18:30 +01:00
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')