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