forked from LeenkxTeam/LNXSDK
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			518 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			518 B
		
	
	
	
		
			Python
		
	
	
	
	
	
from lnx.logicnode.lnx_nodes import *
 | 
						|
 | 
						|
 | 
						|
class CanvasSetCheckBoxNode(LnxLogicTreeNode):
 | 
						|
    """Sets the state of the given UI checkbox."""
 | 
						|
    bl_idname = 'LNCanvasSetCheckBoxNode'
 | 
						|
    bl_label = 'Set Canvas Checkbox'
 | 
						|
    lnx_section = 'elements_specific'
 | 
						|
    lnx_version = 1
 | 
						|
 | 
						|
    def lnx_init(self, context):
 | 
						|
        self.add_input('LnxNodeSocketAction', 'In')
 | 
						|
        self.add_input('LnxStringSocket', 'Element')
 | 
						|
        self.add_input('LnxBoolSocket', 'Check')
 | 
						|
 | 
						|
        self.add_output('LnxNodeSocketAction', 'Out')
 |