from lnx.logicnode.lnx_nodes import * class GetVisibleNode(LnxLogicTreeNode): """Returns whether the given object or its visual components are visible. @seeNode Set Object Visible""" bl_idname = 'LNGetVisibleNode' bl_label = 'Get Object Visible' lnx_section = 'props' lnx_version = 1 def lnx_init(self, context): self.add_input('LnxNodeSocketObject', 'Object') self.add_output('LnxBoolSocket', 'Is Object Visible') self.add_output('LnxBoolSocket', 'Is Mesh Visible') self.add_output('LnxBoolSocket', 'Is Shadow Visible')