13 lines
		
	
	
		
			382 B
		
	
	
	
		
			Python
		
	
	
	
	
	
		
		
			
		
	
	
			13 lines
		
	
	
		
			382 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| 
								 | 
							
								from lnx.logicnode.lnx_nodes import *
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								class ArrayGetNextNode(LnxLogicTreeNode):
							 | 
						||
| 
								 | 
							
								    """Returns the next value to be retrieve by looping the array."""
							 | 
						||
| 
								 | 
							
								    bl_idname = 'LNArrayGetNextNode'
							 | 
						||
| 
								 | 
							
								    bl_label = 'Array Get Next'
							 | 
						||
| 
								 | 
							
								    lnx_version = 1
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    def lnx_init(self, context):
							 | 
						||
| 
								 | 
							
								        self.add_input('LnxNodeSocketArray', 'Array')
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								        self.add_output('LnxDynamicSocket', 'Value')
							 |