forked from LeenkxTeam/LNXSDK
Repe [T3DU] Update - 31f26d171bba0355ce2a77031e3aad4c64dbc7e9
This commit is contained in:
@ -4,8 +4,17 @@ class TimeNode(LnxLogicTreeNode):
|
||||
"""Returns the application execution time and the delta time."""
|
||||
bl_idname = 'LNTimeNode'
|
||||
bl_label = 'Get Application Time'
|
||||
lnx_version = 1
|
||||
lnx_section = 'time'
|
||||
lnx_version = 2
|
||||
|
||||
def lnx_init(self, context):
|
||||
self.add_output('LnxFloatSocket', 'Time')
|
||||
self.add_output('LnxFloatSocket', 'Delta')
|
||||
self.add_output('LnxFloatSocket', 'RealTime')
|
||||
|
||||
|
||||
def get_replacement_node(self, node_tree: bpy.types.NodeTree):
|
||||
if self.lnx_version not in (0, 1):
|
||||
raise LookupError()
|
||||
|
||||
return NodeReplacement.Identity(self)
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
from lnx.logicnode.lnx_nodes import *
|
||||
|
||||
|
||||
class GetDebugConsoleSettings(LnxLogicTreeNode):
|
||||
class GetDebugConsoleSettingsNode(LnxLogicTreeNode):
|
||||
"""Return properties of the debug console.
|
||||
|
||||
@output Enabled: Whether the debug console is enabled.
|
||||
@ -17,6 +17,7 @@ class GetDebugConsoleSettings(LnxLogicTreeNode):
|
||||
"""
|
||||
bl_idname = 'LNGetDebugConsoleSettings'
|
||||
bl_label = 'Get Debug Console Settings'
|
||||
lnx_section = 'debug'
|
||||
lnx_version = 2
|
||||
|
||||
def lnx_init(self, context):
|
||||
|
||||
@ -1,9 +1,10 @@
|
||||
from lnx.logicnode.lnx_nodes import *
|
||||
|
||||
class SetDebugConsoleSettings(LnxLogicTreeNode):
|
||||
class SetDebugConsoleSettingsNode(LnxLogicTreeNode):
|
||||
"""Sets the debug console settings."""
|
||||
bl_idname = 'LNSetDebugConsoleSettings'
|
||||
bl_label = 'Set Debug Console Settings'
|
||||
lnx_section = 'debug'
|
||||
lnx_version = 1
|
||||
|
||||
property0: HaxeEnumProperty(
|
||||
|
||||
@ -4,6 +4,7 @@ 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):
|
||||
|
||||
@ -5,6 +5,7 @@ class SleepNode(LnxLogicTreeNode):
|
||||
through the incoming signal."""
|
||||
bl_idname = 'LNSleepNode'
|
||||
bl_label = 'Sleep'
|
||||
lnx_section = 'time'
|
||||
lnx_version = 1
|
||||
|
||||
def lnx_init(self, context):
|
||||
|
||||
@ -24,6 +24,7 @@ class TimerNode(LnxLogicTreeNode):
|
||||
"""
|
||||
bl_idname = 'LNTimerNode'
|
||||
bl_label = 'Timer'
|
||||
lnx_section = 'time'
|
||||
lnx_version = 1
|
||||
|
||||
def lnx_init(self, context):
|
||||
|
||||
Reference in New Issue
Block a user