forked from LeenkxTeam/LNXSDK
Repe [T3DU] Update - 31f26d171bba0355ce2a77031e3aad4c64dbc7e9
This commit is contained in:
12
leenkx/blender/lnx/logicnode/world/LN_get_world_data.py
Normal file
12
leenkx/blender/lnx/logicnode/world/LN_get_world_data.py
Normal file
@ -0,0 +1,12 @@
|
||||
from lnx.logicnode.lnx_nodes import *
|
||||
|
||||
class GetWorldDataNode(LnxLogicTreeNode):
|
||||
"""Gets the World data of the active scene."""
|
||||
bl_idname = 'LNGetWorldDataNode'
|
||||
bl_label = 'Get World Data'
|
||||
lnx_version = 1
|
||||
|
||||
def lnx_init(self, context):
|
||||
self.add_output('LnxStringSocket', 'World')
|
||||
self.add_output('LnxFloatSocket', 'Strength')
|
||||
self.add_output('LnxColorSocket', 'Color')
|
||||
15
leenkx/blender/lnx/logicnode/world/LN_set_world_probe.py
Normal file
15
leenkx/blender/lnx/logicnode/world/LN_set_world_probe.py
Normal file
@ -0,0 +1,15 @@
|
||||
from lnx.logicnode.lnx_nodes import *
|
||||
|
||||
class SetWorldProbeNode(LnxLogicTreeNode):
|
||||
"""Sets the World Probe of the active scene."""
|
||||
|
||||
bl_idname = 'LNSetWorldProbeNode'
|
||||
bl_label = 'Set World Probe'
|
||||
lnx_version = 1
|
||||
|
||||
def lnx_init(self, context):
|
||||
self.add_input('LnxNodeSocketAction', 'In')
|
||||
self.add_input('LnxNodeSocketAction', 'Reset')
|
||||
self.add_input('LnxStringSocket', 'World')
|
||||
|
||||
self.add_output('LnxNodeSocketAction', 'Out')
|
||||
Reference in New Issue
Block a user