forked from LeenkxTeam/LNXSDK
Update Files
This commit is contained in:
@ -0,0 +1,12 @@
|
||||
from lnx.logicnode.lnx_nodes import *
|
||||
|
||||
class IntFromBooleanNode(LnxLogicTreeNode):
|
||||
"""Returns an int depending on the respective boolean state."""
|
||||
bl_idname = 'LNIntFromBooleanNode'
|
||||
bl_label = 'Boolean to Int'
|
||||
lnx_version = 1
|
||||
|
||||
def lnx_init(self, context):
|
||||
self.inputs.new('LnxBoolSocket', 'Bool')
|
||||
|
||||
self.outputs.new('LnxIntSocket', 'Int')
|
Reference in New Issue
Block a user