forked from LeenkxTeam/LNXSDK
		
	
		
			
	
	
		
			15 lines
		
	
	
		
			471 B
		
	
	
	
		
			Python
		
	
	
	
	
	
		
		
			
		
	
	
			15 lines
		
	
	
		
			471 B
		
	
	
	
		
			Python
		
	
	
	
	
	
|  | from lnx.logicnode.lnx_nodes import * | ||
|  | 
 | ||
|  | class SetTraitPausedNode(LnxLogicTreeNode): | ||
|  |     """Sets the paused state of the given trait.""" | ||
|  |     bl_idname = 'LNSetTraitPausedNode' | ||
|  |     bl_label = 'Set Trait Paused' | ||
|  |     lnx_version = 1 | ||
|  | 
 | ||
|  |     def lnx_init(self, context): | ||
|  |         self.add_input('LnxNodeSocketAction', 'In') | ||
|  |         self.add_input('LnxDynamicSocket', 'Trait') | ||
|  |         self.add_input('LnxBoolSocket', 'Paused') | ||
|  | 
 | ||
|  |         self.add_output('LnxNodeSocketAction', 'Out') |