forked from LeenkxTeam/LNXSDK
Update Files
This commit is contained in:
@ -0,0 +1,15 @@
|
||||
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')
|
Reference in New Issue
Block a user