15 lines
431 B
Python
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')
|