12 lines
364 B
Python
12 lines
364 B
Python
|
from lnx.logicnode.lnx_nodes import *
|
||
|
|
||
|
class TimeNode(LnxLogicTreeNode):
|
||
|
"""Returns the application execution time and the delta time."""
|
||
|
bl_idname = 'LNTimeNode'
|
||
|
bl_label = 'Get Application Time'
|
||
|
lnx_version = 1
|
||
|
|
||
|
def lnx_init(self, context):
|
||
|
self.add_output('LnxFloatSocket', 'Time')
|
||
|
self.add_output('LnxFloatSocket', 'Delta')
|