diff --git a/leenkx/blender/lnx/logicnode/light/LN_set_light_shadow.py b/leenkx/blender/lnx/logicnode/light/LN_set_light_shadow.py new file mode 100644 index 0000000..fc93d28 --- /dev/null +++ b/leenkx/blender/lnx/logicnode/light/LN_set_light_shadow.py @@ -0,0 +1,14 @@ +from lnx.logicnode.lnx_nodes import * + +class SetLightShadowNode(LnxLogicTreeNode): + """Sets the shadow boolean of the given light.""" + bl_idname = 'LNSetLightShadowNode' + bl_label = 'Set Light Shadow' + lnx_version = 1 + + def lnx_init(self, context): + self.add_input('LnxNodeSocketAction', 'In') + self.add_input('LnxNodeSocketObject', 'Light') + self.add_input('LnxBoolSocket', 'Shadow') + + self.add_output('LnxNodeSocketAction', 'Out') \ No newline at end of file