forked from LeenkxTeam/LNXSDK
Update Files
This commit is contained in:
15
leenkx/blender/lnx/logicnode/scene/LN_spawn_scene.py
Normal file
15
leenkx/blender/lnx/logicnode/scene/LN_spawn_scene.py
Normal file
@ -0,0 +1,15 @@
|
||||
from lnx.logicnode.lnx_nodes import *
|
||||
|
||||
class SpawnSceneNode(LnxLogicTreeNode):
|
||||
"""Spawns the given scene."""
|
||||
bl_idname = 'LNSpawnSceneNode'
|
||||
bl_label = 'Spawn Scene'
|
||||
lnx_version = 1
|
||||
|
||||
def lnx_init(self, context):
|
||||
self.add_input('LnxNodeSocketAction', 'In')
|
||||
self.add_input('LnxDynamicSocket', 'Scene')
|
||||
self.add_input('LnxDynamicSocket', 'Transform')
|
||||
|
||||
self.add_output('LnxNodeSocketAction', 'Out')
|
||||
self.add_output('LnxNodeSocketObject', 'Root')
|
Reference in New Issue
Block a user