Files
LNXSDK/leenkx/blender/lnx/logicnode/miscellaneous/LN_set_time_scale.py

15 lines
443 B
Python

from lnx.logicnode.lnx_nodes import *
class SetTimeScaleNode(LnxLogicTreeNode):
"""Sets the global time scale."""
bl_idname = 'LNSetTimeScaleNode'
bl_label = 'Set Time Scale'
lnx_section = 'time'
lnx_version = 1
def lnx_init(self, context):
self.add_input('LnxNodeSocketAction', 'In')
self.add_input('LnxFloatSocket', 'Scale', default_value=1.0)
self.add_output('LnxNodeSocketAction', 'Out')