LNXSDK/leenkx/blender/lnx/logicnode/event/LN_on_render2d.py
2025-01-22 16:18:30 +01:00

15 lines
431 B
Python

from lnx.logicnode.lnx_nodes import *
class OnRender2DNode(LnxLogicTreeNode):
"""Registers a 2D rendering callback to activate its output on each
frame after the frame has been drawn and other non-2D render callbacks
have been executed.
"""
bl_idname = 'LNOnRender2DNode'
bl_label = 'On Render2D'
lnx_version = 1
def lnx_init(self, context):
self.add_output('LnxNodeSocketAction', 'Out')