forked from LeenkxTeam/LNXSDK
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			409 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			409 B
		
	
	
	
		
			Python
		
	
	
	
	
	
from lnx.logicnode.lnx_nodes import *
 | 
						|
 | 
						|
 | 
						|
class CanvasGetSliderNode(LnxLogicTreeNode):
 | 
						|
    """Returns the value of the given UI slider."""
 | 
						|
    bl_idname = 'LNCanvasGetSliderNode'
 | 
						|
    bl_label = 'Get Canvas Slider'
 | 
						|
    lnx_section = 'elements_specific'
 | 
						|
    lnx_version = 1
 | 
						|
 | 
						|
    def lnx_init(self, context):
 | 
						|
        self.add_input('LnxStringSocket', 'Element')
 | 
						|
 | 
						|
        self.add_output('LnxFloatSocket', 'Float')
 |