17 lines
		
	
	
		
			632 B
		
	
	
	
		
			Python
		
	
	
	
	
	
		
		
			
		
	
	
			17 lines
		
	
	
		
			632 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| 
								 | 
							
								from lnx.logicnode.lnx_nodes import *
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								@deprecated('Get Touch Movement', 'Get Touch Location')
							 | 
						||
| 
								 | 
							
								class SurfaceCoordsNode(LnxLogicTreeNode):
							 | 
						||
| 
								 | 
							
								    """Deprecated. Is recommended to use 'Get Touch Location' and 'Get Touch Movement' node instead."""
							 | 
						||
| 
								 | 
							
								    bl_idname = 'LNSurfaceCoordsNode'
							 | 
						||
| 
								 | 
							
								    bl_label = 'Surface Coords'
							 | 
						||
| 
								 | 
							
								    bl_description = "Please use the \"Get Touch Movement\" and \"Get Touch Location\" nodes instead"
							 | 
						||
| 
								 | 
							
								    lnx_category = 'Input'
							 | 
						||
| 
								 | 
							
								    lnx_section = 'surface'
							 | 
						||
| 
								 | 
							
								    lnx_version = 2
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    def lnx_init(self, context):
							 | 
						||
| 
								 | 
							
								        self.add_output('LnxVectorSocket', 'Coords')
							 | 
						||
| 
								 | 
							
								        self.add_output('LnxVectorSocket', 'Movement')
							 |