forked from LeenkxTeam/LNXSDK
17 lines
505 B
Python
17 lines
505 B
Python
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')
|