14 lines
362 B
Python
14 lines
362 B
Python
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')
|