From 1d3254a23731d5374135e943bddae9340976a5fd Mon Sep 17 00:00:00 2001 From: Onek8 Date: Tue, 10 Jun 2025 18:52:26 +0000 Subject: [PATCH] t3du - Set / Get World Nodes --- leenkx/blender/lnx/logicnode/world/SetWorldNode.hx | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 leenkx/blender/lnx/logicnode/world/SetWorldNode.hx diff --git a/leenkx/blender/lnx/logicnode/world/SetWorldNode.hx b/leenkx/blender/lnx/logicnode/world/SetWorldNode.hx new file mode 100644 index 0000000..0963735 --- /dev/null +++ b/leenkx/blender/lnx/logicnode/world/SetWorldNode.hx @@ -0,0 +1,13 @@ +from lnx.logicnode.lnx_nodes import * + +class SetWorldNode(LnxLogicTreeNode): + """Sets the World of the active scene.""" + bl_idname = 'LNSetWorldNode' + bl_label = 'Set World' + lnx_version = 1 + + def lnx_init(self, context): + self.add_input('LnxNodeSocketAction', 'In') + self.add_input('LnxStringSocket', 'World') + + self.add_output('LnxNodeSocketAction', 'Out') \ No newline at end of file