Files
LNXSDK/leenkx/blender/lnx/logicnode/world/SetWorldNode.hx
2025-06-10 18:52:26 +00:00

13 lines
394 B
Haxe

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')