forked from LeenkxTeam/LNXSDK
		
	
		
			
	
	
		
			13 lines
		
	
	
		
			411 B
		
	
	
	
		
			Python
		
	
	
	
	
	
		
		
			
		
	
	
			13 lines
		
	
	
		
			411 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| 
								 | 
							
								from lnx.logicnode.lnx_nodes import *
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								class AnimTreeNode(LnxLogicVariableNodeMixin, LnxLogicTreeNode):
							 | 
						||
| 
								 | 
							
								    """Stores the given animation tree as a variable."""
							 | 
						||
| 
								 | 
							
								    bl_idname = 'LNAnimTreeNode'
							 | 
						||
| 
								 | 
							
								    bl_label = 'Animation Tree'
							 | 
						||
| 
								 | 
							
								    lnx_version = 2
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    def lnx_init(self, context):
							 | 
						||
| 
								 | 
							
								        self.add_input('LnxNodeSocketAnimTree', 'Action')
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								        self.add_output('LnxNodeSocketAnimTree', 'Action', is_var=True)
							 |