19 lines
540 B
Python
Raw Normal View History

2025-01-22 16:18:30 +01:00
from lnx.logicnode.lnx_nodes import *
class MapLoopNode(LnxLogicTreeNode):
"""Map Loop"""
bl_idname = 'LNMapLoopNode'
bl_label = 'Map Loop'
lnx_version = 1
def init(self, context):
self.add_input('LnxNodeSocketAction', 'In')
self.add_input('LnxDynamicSocket', 'Map')
self.add_output('LnxNodeSocketAction', 'Loop')
self.add_output('LnxDynamicSocket', 'Key')
self.add_output('LnxDynamicSocket', 'Value')
self.add_output('LnxNodeSocketAction', 'Done')