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

14 lines
433 B
Python
Raw Normal View History

2017-04-08 00:34:45 +02:00
from arm.logicnode.arm_nodes import *
class GroupOutputNode(ArmLogicTreeNode):
2020-10-05 19:55:56 +02:00
"""Sets the connected chain of nodes as a group of nodes."""
2017-04-08 00:34:45 +02:00
bl_idname = 'LNGroupOutputNode'
2020-09-25 00:49:21 +02:00
bl_label = 'Group Nodes'
arm_version = 1
2017-04-08 00:34:45 +02:00
def init(self, context):
super(GroupOutputNode, self).init(context)
2020-09-08 21:49:02 +02:00
self.add_input('ArmNodeSocketAction', 'In')
2017-04-08 00:34:45 +02:00
add_node(GroupOutputNode, category=PKG_AS_CATEGORY, section='group')