forked from LeenkxTeam/LNXSDK
Update Files
This commit is contained in:
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')
|
Reference in New Issue
Block a user