Update Files
This commit is contained in:
16
leenkx/blender/lnx/logicnode/array/LN_array_slice.py
Normal file
16
leenkx/blender/lnx/logicnode/array/LN_array_slice.py
Normal file
@ -0,0 +1,16 @@
|
||||
from lnx.logicnode.lnx_nodes import *
|
||||
|
||||
class ArraySliceNode(LnxLogicTreeNode):
|
||||
"""Creates a shallow copy of the given array in the specified range.
|
||||
|
||||
@see [Haxe API](https://api.haxe.org/Array.html#slice)"""
|
||||
bl_idname = 'LNArraySliceNode'
|
||||
bl_label = 'Array Slice'
|
||||
lnx_version = 1
|
||||
|
||||
def lnx_init(self, context):
|
||||
self.add_input('LnxNodeSocketArray', 'Array')
|
||||
self.add_input('LnxIntSocket', 'Index')
|
||||
self.add_input('LnxIntSocket', 'End')
|
||||
|
||||
self.add_output('LnxNodeSocketArray', 'Array')
|
Reference in New Issue
Block a user