forked from LeenkxTeam/LNXSDK
16 lines
489 B
Python
16 lines
489 B
Python
|
from lnx.logicnode.lnx_nodes import *
|
||
|
|
||
|
|
||
|
class MapKeyExistsNode(LnxLogicTreeNode):
|
||
|
"""Map Key Exists"""
|
||
|
bl_idname = 'LNMapKeyExistsNode'
|
||
|
bl_label = 'Map Key Exists'
|
||
|
lnx_version = 1
|
||
|
|
||
|
def init(self, context):
|
||
|
self.add_input('LnxNodeSocketAction', 'In')
|
||
|
self.add_input('LnxDynamicSocket', 'Map')
|
||
|
self.add_input('LnxDynamicSocket', 'Key')
|
||
|
|
||
|
self.add_output('LnxNodeSocketAction', 'True')
|
||
|
self.add_output('LnxNodeSocketAction', 'False')
|