armory/blender/arm/logicnode/miscellaneous/LN_display_info.py

13 lines
376 B
Python
Raw Normal View History

from arm.logicnode.arm_nodes import *
class DisplayInfoNode(ArmLogicTreeNode):
2020-09-08 23:14:51 +02:00
"""Display info node"""
bl_idname = 'LNDisplayInfoNode'
bl_label = 'Display Info'
def init(self, context):
2020-09-08 21:49:02 +02:00
self.add_output('NodeSocketInt', 'Width')
self.add_output('NodeSocketInt', 'Height')
add_node(DisplayInfoNode, category=PKG_AS_CATEGORY, section='screen')