armory/blender/arm/logicnode/canvas/LN_get_canvas_input_text.py
2020-11-17 12:01:15 -03:00

14 lines
442 B
Python

from arm.logicnode.arm_nodes import *
class CanvasGetInputTextNode(ArmLogicTreeNode):
"""Returns the input text of the given UI element."""
bl_idname = 'LNCanvasGetInputTextNode'
bl_label = 'Get Canvas Input Text'
arm_version = 1
def init(self, context):
super(CanvasGetInputTextNode, self).init(context)
self.add_input('NodeSocketString', 'Element')
self.add_output('NodeSocketString', 'Text')