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

14 lines
362 B
Python
Raw Normal View History

2025-01-22 16:18:30 +01:00
from lnx.logicnode.lnx_nodes import *
class ArrayReverseNode(LnxLogicTreeNode):
"""Reverse the items order of the array."""
bl_idname = 'LNArrayReverseNode'
bl_label = 'Array Reverse'
lnx_version = 1
def lnx_init(self, context):
self.add_input('LnxNodeSocketArray', 'Array')
self.add_output('LnxNodeSocketArray', 'Array')