forked from LeenkxTeam/LNXSDK
t3du - Set / Get World Nodes
This commit is contained in:
13
leenkx/blender/lnx/logicnode/world/SetWorldNode.hx
Normal file
13
leenkx/blender/lnx/logicnode/world/SetWorldNode.hx
Normal file
@ -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')
|
Reference in New Issue
Block a user