forked from LeenkxTeam/LNXSDK
Update Files
This commit is contained in:
13
leenkx/blender/lnx/logicnode/logic/LN_output_to_boolean.py
Normal file
13
leenkx/blender/lnx/logicnode/logic/LN_output_to_boolean.py
Normal file
@ -0,0 +1,13 @@
|
||||
from lnx.logicnode.lnx_nodes import *
|
||||
|
||||
class ToBoolNode(LnxLogicTreeNode):
|
||||
"""Converts a signal to a boolean value. If the input signal is
|
||||
active, the boolean is `true`; if not, the boolean is `false`."""
|
||||
bl_idname = 'LNToBoolNode'
|
||||
bl_label = 'Output to Boolean'
|
||||
lnx_version = 1
|
||||
|
||||
def lnx_init(self, context):
|
||||
self.add_input('LnxNodeSocketAction', 'In')
|
||||
|
||||
self.add_output('LnxBoolSocket', 'Bool')
|
Reference in New Issue
Block a user