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