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

14 lines
390 B
Python
Raw Normal View History

2025-01-22 16:18:30 +01:00
from lnx.logicnode.lnx_nodes import *
class ArrayShuffleNode(LnxLogicTreeNode):
"""Shuffle the items in the array and return a new array
"""
bl_idname = 'LNArrayShuffleNode'
bl_label = 'Array Shuffle'
lnx_version = 1
def lnx_init(self, context):
self.add_input('LnxNodeSocketArray', 'Array')
self.add_output('LnxNodeSocketArray', 'Array')