from lnx.logicnode.lnx_nodes import * class BloomGetNode(LnxLogicTreeNode): """Return the current bloom post-processing settings. This node requires `Leenkx Render Path > Renderer > Realtime postprocess` to be enabled in order to work. """ bl_idname = 'LNBloomGetNode' bl_label = 'Get Bloom Settings' lnx_version = 2 def lnx_init(self, context): self.add_output('LnxFloatSocket', 'Threshold') self.add_output('LnxFloatSocket', 'Knee') self.add_output('LnxFloatSocket', 'Strength') self.add_output('LnxFloatSocket', 'Radius') def get_replacement_node(self, node_tree: bpy.types.NodeTree): return NodeReplacement( 'LNBloomGetNode', 1, 'LNBloomGetNode', 2, {}, {0: 0, 1: 2, 2: 3} )