16 lines
		
	
	
		
			424 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			424 B
		
	
	
	
		
			Python
		
	
	
	
	
	
from lnx.logicnode.lnx_nodes import *
 | 
						|
 | 
						|
class WindowInfoNode(LnxLogicTreeNode):
 | 
						|
    """Returns the current window resolution.
 | 
						|
 | 
						|
    @seeNode Get Display Resolution
 | 
						|
    """
 | 
						|
    bl_idname = 'LNWindowInfoNode'
 | 
						|
    bl_label = 'Get Window Resolution'
 | 
						|
    lnx_section = 'screen'
 | 
						|
    lnx_version = 1
 | 
						|
 | 
						|
    def lnx_init(self, context):
 | 
						|
        self.add_output('LnxIntSocket', 'Width')
 | 
						|
        self.add_output('LnxIntSocket', 'Height')
 |