forked from LeenkxTeam/LNXSDK
		
	
		
			
	
	
		
			12 lines
		
	
	
		
			372 B
		
	
	
	
		
			Python
		
	
	
	
	
	
		
		
			
		
	
	
			12 lines
		
	
	
		
			372 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| 
								 | 
							
								from lnx.logicnode.lnx_nodes import *
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								class DynamicNode(LnxLogicVariableNodeMixin, LnxLogicTreeNode):
							 | 
						||
| 
								 | 
							
								    """Stores the given dynamic value (a value with an arbitrary type) as a variable."""
							 | 
						||
| 
								 | 
							
								    bl_idname = 'LNDynamicNode'
							 | 
						||
| 
								 | 
							
								    bl_label = 'Dynamic'
							 | 
						||
| 
								 | 
							
								    lnx_version = 1
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    def lnx_init(self, context):
							 | 
						||
| 
								 | 
							
								        self.add_output('LnxDynamicSocket', 'Dynamic', is_var=True)
							 |