forked from LeenkxTeam/LNXSDK
Update Files
This commit is contained in:
13
leenkx/blender/lnx/logicnode/array/LN_array_contains.py
Normal file
13
leenkx/blender/lnx/logicnode/array/LN_array_contains.py
Normal file
@ -0,0 +1,13 @@
|
||||
from lnx.logicnode.lnx_nodes import *
|
||||
|
||||
class ArrayContainsNode(LnxLogicTreeNode):
|
||||
"""Returns whether the given array contains the given value."""
|
||||
bl_idname = 'LNArrayInArrayNode'
|
||||
bl_label = 'Array Contains'
|
||||
lnx_version = 1
|
||||
|
||||
def lnx_init(self, context):
|
||||
self.add_input('LnxNodeSocketArray', 'Array')
|
||||
self.add_input('LnxDynamicSocket', 'Value')
|
||||
|
||||
self.add_output('LnxBoolSocket', 'Contains')
|
Reference in New Issue
Block a user