forked from LeenkxTeam/LNXSDK
		
	
		
			
	
	
		
			16 lines
		
	
	
		
			528 B
		
	
	
	
		
			Python
		
	
	
	
	
	
		
		
			
		
	
	
			16 lines
		
	
	
		
			528 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| 
								 | 
							
								from lnx.logicnode.lnx_nodes import *
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								class SetTilesheetPausedNode(LnxLogicTreeNode):
							 | 
						||
| 
								 | 
							
								    """Sets the tilesheet paused state of the given object."""
							 | 
						||
| 
								 | 
							
								    bl_idname = 'LNSetTilesheetPausedNode'
							 | 
						||
| 
								 | 
							
								    bl_label = 'Set Tilesheet Paused'
							 | 
						||
| 
								 | 
							
								    lnx_section = 'tilesheet'
							 | 
						||
| 
								 | 
							
								    lnx_version = 1
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    def lnx_init(self, context):
							 | 
						||
| 
								 | 
							
								        self.add_input('LnxNodeSocketAction', 'In')
							 | 
						||
| 
								 | 
							
								        self.add_input('LnxNodeSocketObject', 'Object')
							 | 
						||
| 
								 | 
							
								        self.add_input('LnxBoolSocket', 'Paused')
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								        self.add_output('LnxNodeSocketAction', 'Out')
							 |