forked from LeenkxTeam/LNXSDK
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			427 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			427 B
		
	
	
	
		
			Python
		
	
	
	
	
	
from lnx.logicnode.lnx_nodes import *
 | 
						|
 | 
						|
class DisplayInfoNode(LnxLogicTreeNode):
 | 
						|
    """Returns the current display resolution.
 | 
						|
 | 
						|
    @seeNode Get Window Resolution
 | 
						|
    """
 | 
						|
    bl_idname = 'LNDisplayInfoNode'
 | 
						|
    bl_label = 'Get Display Resolution'
 | 
						|
    lnx_section = 'screen'
 | 
						|
    lnx_version = 1
 | 
						|
 | 
						|
    def lnx_init(self, context):
 | 
						|
        self.add_output('LnxIntSocket', 'Width')
 | 
						|
        self.add_output('LnxIntSocket', 'Height')
 |