forked from LeenkxTeam/LNXSDK
18 lines
466 B
Python
18 lines
466 B
Python
|
from lnx.logicnode.lnx_nodes import *
|
||
|
|
||
|
|
||
|
class IsNoneNode(LnxLogicTreeNode):
|
||
|
"""Passes through its activation only if the plugged-in value is
|
||
|
`null` (no value).
|
||
|
|
||
|
@seeNode Is Not Null"""
|
||
|
bl_idname = 'LNIsNoneNode'
|
||
|
bl_label = 'Is Null'
|
||
|
lnx_version = 1
|
||
|
|
||
|
def lnx_init(self, context):
|
||
|
self.add_input('LnxNodeSocketAction', 'In')
|
||
|
self.add_input('LnxDynamicSocket', 'Value')
|
||
|
|
||
|
self.add_output('LnxNodeSocketAction', 'Out')
|