15 lines
499 B
Python
15 lines
499 B
Python
from arm.logicnode.arm_nodes import *
|
|
|
|
class CanvasSetVisibleNode(ArmLogicTreeNode):
|
|
"""Canvas Set Visible node"""
|
|
bl_idname = 'LNCanvasSetVisibleNode'
|
|
bl_label = 'Canvas Set Visible'
|
|
|
|
def init(self, context):
|
|
self.add_input('ArmNodeSocketAction', 'In')
|
|
self.add_input('NodeSocketString', 'Element')
|
|
self.add_input('NodeSocketBool', 'Visible')
|
|
self.add_output('ArmNodeSocketAction', 'Out')
|
|
|
|
add_node(CanvasSetVisibleNode, category=MODULE_AS_CATEGORY)
|