LNXSDK/leenkx/blender/lnx/logicnode/array/LN_array_get_next.py

13 lines
382 B
Python
Raw Normal View History

2025-01-22 16:18:30 +01:00
from lnx.logicnode.lnx_nodes import *
class ArrayGetNextNode(LnxLogicTreeNode):
"""Returns the next value to be retrieve by looping the array."""
bl_idname = 'LNArrayGetNextNode'
bl_label = 'Array Get Next'
lnx_version = 1
def lnx_init(self, context):
self.add_input('LnxNodeSocketArray', 'Array')
self.add_output('LnxDynamicSocket', 'Value')