Update Files

This commit is contained in:
2025-01-22 16:18:30 +01:00
parent ed4603cf95
commit a36294b518
16718 changed files with 2960346 additions and 0 deletions

View 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')

View 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')

View 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')

View File

@ -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')

View 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')