forked from LeenkxTeam/LNXSDK
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			386 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			386 B
		
	
	
	
		
			Python
		
	
	
	
	
	
from lnx.logicnode.lnx_nodes import *
 | 
						|
 | 
						|
class ArrayCountNode(LnxLogicTreeNode):
 | 
						|
    """Returns an array with the item counts of the given array."""
 | 
						|
    bl_idname = 'LNArrayCountNode'
 | 
						|
    bl_label = 'Array Count'
 | 
						|
    lnx_version = 1
 | 
						|
    
 | 
						|
    def lnx_init(self, context):
 | 
						|
        self.add_input('LnxNodeSocketArray', 'Array')
 | 
						|
       
 | 
						|
        self.add_output('LnxNodeSocketArray', 'Count')
 |