forked from LeenkxTeam/LNXSDK
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			453 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			453 B
		
	
	
	
		
			Python
		
	
	
	
	
	
from lnx.logicnode.lnx_nodes import *
 | 
						|
 | 
						|
class IsTrueNode(LnxLogicTreeNode):
 | 
						|
    """Passes through its activation only if the plugged-in boolean
 | 
						|
    equals `true`.
 | 
						|
 | 
						|
    @seeNode Is False"""
 | 
						|
    bl_idname = 'LNIsTrueNode'
 | 
						|
    bl_label = 'Is True'
 | 
						|
    lnx_version = 1
 | 
						|
 | 
						|
    def lnx_init(self, context):
 | 
						|
        self.add_input('LnxNodeSocketAction', 'In')
 | 
						|
        self.add_input('LnxBoolSocket', 'Bool')
 | 
						|
 | 
						|
        self.add_output('LnxNodeSocketAction', 'Out')
 |