armory/blender/arm/logicnode/canvas/LN_canvas_get_input_text.py

15 lines
476 B
Python

from arm.logicnode.arm_nodes import *
class CanvasGetInputTextNode(ArmLogicTreeNode):
"""Get canvas input text"""
bl_idname = 'LNCanvasGetInputTextNode'
bl_label = 'Canvas Get Input Text'
arm_version = 1
def init(self, context):
super(CanvasGetInputTextNode, self).init(context)
self.add_input('NodeSocketString', 'Element')
self.add_output('NodeSocketString', 'Value')
add_node(CanvasGetInputTextNode, category=PKG_AS_CATEGORY)