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

17 lines
505 B
Python
Raw Normal View History

2025-01-22 16:18:30 +01:00
from lnx.logicnode.lnx_nodes import *
class GetHaxePropertyNode(LnxLogicTreeNode):
"""Returns a property of an Haxe object (via the Reflection API).
@seeNode Set Haxe Property"""
bl_idname = 'LNGetHaxePropertyNode'
bl_label = 'Get Haxe Property'
lnx_version = 1
lnx_section = 'haxe'
def lnx_init(self, context):
self.add_input('LnxDynamicSocket', 'Dynamic')
self.add_input('LnxStringSocket', 'Property')
self.add_output('LnxDynamicSocket', 'Value')