LNXSDK/leenkx/blender/lnx/logicnode/miscellaneous/LN_get_application_time.py

12 lines
364 B
Python
Raw Normal View History

2025-01-22 16:18:30 +01:00
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')