forked from LeenkxTeam/LNXSDK
13 lines
394 B
Haxe
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') |