forked from LeenkxTeam/LNXSDK
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			722 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			722 B
		
	
	
	
		
			Python
		
	
	
	
	
	
from lnx.logicnode.lnx_nodes import *
 | 
						|
 | 
						|
class SSRSetNode(LnxLogicTreeNode):
 | 
						|
    """Set the SSR post-processing settings."""
 | 
						|
    bl_idname = 'LNSSRSetNode'
 | 
						|
    bl_label = 'Set SSR Settings'
 | 
						|
    lnx_version = 1
 | 
						|
 | 
						|
    def lnx_init(self, context):
 | 
						|
        self.add_input('LnxNodeSocketAction', 'In')
 | 
						|
        self.add_input('LnxFloatSocket', 'SSR Step', default_value=0.04)
 | 
						|
        self.add_input('LnxFloatSocket', 'SSR Step Min', default_value=0.05)
 | 
						|
        self.add_input('LnxFloatSocket', 'SSR Search', default_value=5.0)
 | 
						|
        self.add_input('LnxFloatSocket', 'SSR Falloff', default_value=5.0)
 | 
						|
        self.add_input('LnxFloatSocket', 'SSR Jitter', default_value=0.6)
 | 
						|
 | 
						|
        self.add_output('LnxNodeSocketAction', 'Out')
 |