Update Files
This commit is contained in:
17
leenkx/blender/lnx/logicnode/array/LN_array_loop_node.py
Normal file
17
leenkx/blender/lnx/logicnode/array/LN_array_loop_node.py
Normal file
@ -0,0 +1,17 @@
|
||||
from lnx.logicnode.lnx_nodes import *
|
||||
|
||||
|
||||
class ArrayLoopNode(LnxLogicTreeNode):
|
||||
"""Loops through each item of the given array."""
|
||||
bl_idname = 'LNArrayLoopNode'
|
||||
bl_label = 'Array Loop'
|
||||
lnx_version = 1
|
||||
|
||||
def lnx_init(self, context):
|
||||
self.add_input('LnxNodeSocketAction', 'In')
|
||||
self.add_input('LnxNodeSocketArray', 'Array')
|
||||
|
||||
self.add_output('LnxNodeSocketAction', 'Loop')
|
||||
self.add_output('LnxDynamicSocket', 'Value')
|
||||
self.add_output('LnxIntSocket', 'Index')
|
||||
self.add_output('LnxNodeSocketAction', 'Done')
|
Reference in New Issue
Block a user