15 lines
		
	
	
		
			537 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			537 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| from lnx.logicnode.lnx_nodes import *
 | |
| 
 | |
| class ChromaticAberrationSetNode(LnxLogicTreeNode):
 | |
|     """Set the chromatic aberration post-processing settings."""
 | |
|     bl_idname = 'LNChromaticAberrationSetNode'
 | |
|     bl_label = 'Set CA Settings'
 | |
|     lnx_version = 1
 | |
| 
 | |
|     def lnx_init(self, context):
 | |
|         self.add_input('LnxNodeSocketAction', 'In')
 | |
|         self.add_input('LnxFloatSocket', 'Strength', default_value=2.0)
 | |
|         self.add_input('LnxIntSocket', 'Samples', default_value=32)
 | |
| 
 | |
|         self.add_output('LnxNodeSocketAction', 'Out')
 |