forked from LeenkxTeam/LNXSDK
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			475 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			475 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| from lnx.logicnode.lnx_nodes import *
 | |
| 
 | |
| class SetLightShadowNode(LnxLogicTreeNode):
 | |
|     """Sets the shadow boolean of the given light."""
 | |
|     bl_idname = 'LNSetLightShadowNode'
 | |
|     bl_label = 'Set Light Shadow'
 | |
|     lnx_version = 1
 | |
| 
 | |
|     def lnx_init(self, context):
 | |
|         self.add_input('LnxNodeSocketAction', 'In')
 | |
|         self.add_input('LnxNodeSocketObject', 'Light')
 | |
|         self.add_input('LnxBoolSocket', 'Shadow')
 | |
| 
 | |
|         self.add_output('LnxNodeSocketAction', 'Out') |