forked from LeenkxTeam/LNXSDK
Update Files
This commit is contained in:
15
leenkx/blender/lnx/logicnode/light/LN_set_area_light_size.py
Normal file
15
leenkx/blender/lnx/logicnode/light/LN_set_area_light_size.py
Normal file
@ -0,0 +1,15 @@
|
||||
from lnx.logicnode.lnx_nodes import *
|
||||
|
||||
class SetAreaLightSizeNode(LnxLogicTreeNode):
|
||||
"""Sets the size of the given area light."""
|
||||
bl_idname = 'LNSetAreaLightSizeNode'
|
||||
bl_label = 'Set Area Light Size'
|
||||
lnx_version = 1
|
||||
|
||||
def lnx_init(self, context):
|
||||
self.add_input('LnxNodeSocketAction', 'In')
|
||||
self.add_input('LnxNodeSocketObject', 'Light')
|
||||
self.add_input('LnxFloatSocket', 'Size X')
|
||||
self.add_input('LnxFloatSocket', 'Size Y')
|
||||
|
||||
self.add_output('LnxNodeSocketAction', 'Out')
|
14
leenkx/blender/lnx/logicnode/light/LN_set_light_color.py
Normal file
14
leenkx/blender/lnx/logicnode/light/LN_set_light_color.py
Normal file
@ -0,0 +1,14 @@
|
||||
from lnx.logicnode.lnx_nodes import *
|
||||
|
||||
class SetLightColorNode(LnxLogicTreeNode):
|
||||
"""Sets the color of the given light."""
|
||||
bl_idname = 'LNSetLightColorNode'
|
||||
bl_label = 'Set Light Color'
|
||||
lnx_version = 1
|
||||
|
||||
def lnx_init(self, context):
|
||||
self.add_input('LnxNodeSocketAction', 'In')
|
||||
self.add_input('LnxNodeSocketObject', 'Light')
|
||||
self.add_input('LnxColorSocket', 'Color', default_value=[1.0, 1.0, 1.0, 1.0])
|
||||
|
||||
self.add_output('LnxNodeSocketAction', 'Out')
|
14
leenkx/blender/lnx/logicnode/light/LN_set_light_strength.py
Normal file
14
leenkx/blender/lnx/logicnode/light/LN_set_light_strength.py
Normal file
@ -0,0 +1,14 @@
|
||||
from lnx.logicnode.lnx_nodes import *
|
||||
|
||||
class SetLightStrengthNode(LnxLogicTreeNode):
|
||||
"""Sets the strenght of the given light."""
|
||||
bl_idname = 'LNSetLightStrengthNode'
|
||||
bl_label = 'Set Light Strength'
|
||||
lnx_version = 1
|
||||
|
||||
def lnx_init(self, context):
|
||||
self.add_input('LnxNodeSocketAction', 'In')
|
||||
self.add_input('LnxNodeSocketObject', 'Light')
|
||||
self.add_input('LnxFloatSocket', 'Strength', default_value=250)
|
||||
|
||||
self.add_output('LnxNodeSocketAction', 'Out')
|
@ -0,0 +1,14 @@
|
||||
from lnx.logicnode.lnx_nodes import *
|
||||
|
||||
class SetSpotLightBlendNode(LnxLogicTreeNode):
|
||||
"""Sets the blend of the given spot light."""
|
||||
bl_idname = 'LNSetSpotLightBlendNode'
|
||||
bl_label = 'Set Spot Light Blend'
|
||||
lnx_version = 1
|
||||
|
||||
def lnx_init(self, context):
|
||||
self.add_input('LnxNodeSocketAction', 'In')
|
||||
self.add_input('LnxNodeSocketObject', 'Light')
|
||||
self.add_input('LnxFloatSocket', 'Blend')
|
||||
|
||||
self.add_output('LnxNodeSocketAction', 'Out')
|
14
leenkx/blender/lnx/logicnode/light/LN_set_spot_light_size.py
Normal file
14
leenkx/blender/lnx/logicnode/light/LN_set_spot_light_size.py
Normal file
@ -0,0 +1,14 @@
|
||||
from lnx.logicnode.lnx_nodes import *
|
||||
|
||||
class SetSpotLightSizeNode(LnxLogicTreeNode):
|
||||
"""Sets the size of the given spot light."""
|
||||
bl_idname = 'LNSetSpotLightSizeNode'
|
||||
bl_label = 'Set Spot Light Size'
|
||||
lnx_version = 1
|
||||
|
||||
def lnx_init(self, context):
|
||||
self.add_input('LnxNodeSocketAction', 'In')
|
||||
self.add_input('LnxNodeSocketObject', 'Light')
|
||||
self.add_input('LnxFloatSocket', 'Size')
|
||||
|
||||
self.add_output('LnxNodeSocketAction', 'Out')
|
0
leenkx/blender/lnx/logicnode/light/__init__.py
Normal file
0
leenkx/blender/lnx/logicnode/light/__init__.py
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user