18 lines
		
	
	
		
			754 B
		
	
	
	
		
			Python
		
	
	
	
	
	
		
		
			
		
	
	
			18 lines
		
	
	
		
			754 B
		
	
	
	
		
			Python
		
	
	
	
	
	
|  | from lnx.logicnode.lnx_nodes import * | ||
|  | 
 | ||
|  | class LenstextureSetNode(LnxLogicTreeNode): | ||
|  |     """Set the lens texture settings.""" | ||
|  |     bl_idname = 'LNLenstextureSetNode' | ||
|  |     bl_label = 'Set Lenstexture' | ||
|  |     lnx_version = 1 | ||
|  | 
 | ||
|  |     def lnx_init(self, context): | ||
|  |         self.add_input('LnxNodeSocketAction', 'In') | ||
|  |         self.add_input('LnxFloatSocket', 'Center Min Clip', default_value=0.1) | ||
|  |         self.add_input('LnxFloatSocket', 'Center Max Clip', default_value=0.5) | ||
|  |         self.add_input('LnxFloatSocket', 'Luminance Min', default_value=0.10) | ||
|  |         self.add_input('LnxFloatSocket', 'Luminance Max', default_value=2.50) | ||
|  |         self.add_input('LnxFloatSocket', 'Brightness Exponent', default_value=2.0) | ||
|  | 
 | ||
|  |         self.add_output('LnxNodeSocketAction', 'Out') |