forked from LeenkxTeam/LNXSDK
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			511 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			511 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| from lnx.logicnode.lnx_nodes import *
 | |
| 
 | |
| 
 | |
| class CanvasSetSliderNode(LnxLogicTreeNode):
 | |
|     """Sets the value of the given UI slider."""
 | |
|     bl_idname = 'LNCanvasSetSliderNode'
 | |
|     bl_label = 'Set Canvas Slider'
 | |
|     lnx_section = 'elements_specific'
 | |
|     lnx_version = 1
 | |
| 
 | |
|     def lnx_init(self, context):
 | |
|         self.add_input('LnxNodeSocketAction', 'In')
 | |
|         self.add_input('LnxStringSocket', 'Element')
 | |
|         self.add_input('LnxFloatSocket', 'Float')
 | |
| 
 | |
|         self.add_output('LnxNodeSocketAction', 'Out')
 |