forked from LeenkxTeam/LNXSDK
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			522 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			522 B
		
	
	
	
		
			Python
		
	
	
	
	
	
from lnx.logicnode.lnx_nodes import *
 | 
						|
 | 
						|
 | 
						|
class CanvasGetRotationNode(LnxLogicTreeNode):
 | 
						|
    """Returns the rotation of the given UI element."""
 | 
						|
    bl_idname = 'LNCanvasGetRotationNode'
 | 
						|
    bl_label = 'Get Canvas Rotation'
 | 
						|
    lnx_section = 'elements_general'
 | 
						|
    lnx_version = 1
 | 
						|
 | 
						|
    def lnx_init(self, context):
 | 
						|
        self.add_input('LnxNodeSocketAction', 'In')
 | 
						|
        self.add_input('LnxStringSocket', 'Element')
 | 
						|
 | 
						|
        self.add_output('LnxNodeSocketAction', 'Out')
 | 
						|
        self.add_output('LnxFloatSocket', 'Rad')
 |