LNXSDK/leenkx/blender/lnx/logicnode/random/LN_random_boolean.py
2025-01-22 16:18:30 +01:00

12 lines
294 B
Python

from lnx.logicnode.lnx_nodes import *
class RandomBooleanNode(LnxLogicTreeNode):
"""Generates a random boolean."""
bl_idname = 'LNRandomBooleanNode'
bl_label = 'Random Boolean'
lnx_version = 1
def lnx_init(self, context):
self.add_output('LnxBoolSocket', 'Bool')