forked from LeenkxTeam/LNXSDK
		
	
		
			
	
	
		
			14 lines
		
	
	
		
			418 B
		
	
	
	
		
			Python
		
	
	
	
	
	
		
		
			
		
	
	
			14 lines
		
	
	
		
			418 B
		
	
	
	
		
			Python
		
	
	
	
	
	
|  | from lnx.logicnode.lnx_nodes import * | ||
|  | 
 | ||
|  | class SetTimeScaleNode(LnxLogicTreeNode): | ||
|  |     """Sets the global time scale.""" | ||
|  |     bl_idname = 'LNSetTimeScaleNode' | ||
|  |     bl_label = 'Set Time Scale' | ||
|  |     lnx_version = 1 | ||
|  | 
 | ||
|  |     def lnx_init(self, context): | ||
|  |         self.add_input('LnxNodeSocketAction', 'In') | ||
|  |         self.add_input('LnxFloatSocket', 'Scale', default_value=1.0) | ||
|  | 
 | ||
|  |         self.add_output('LnxNodeSocketAction', 'Out') |