LNXSDK/leenkx/blender/lnx/logicnode/postprocess/LN_lenstexture_set.py

18 lines
754 B
Python
Raw Normal View History

2025-01-22 16:18:30 +01:00
from lnx.logicnode.lnx_nodes import *
class LenstextureSetNode(LnxLogicTreeNode):
"""Set the lens texture settings."""
bl_idname = 'LNLenstextureSetNode'
bl_label = 'Set Lenstexture'
lnx_version = 1
def lnx_init(self, context):
self.add_input('LnxNodeSocketAction', 'In')
self.add_input('LnxFloatSocket', 'Center Min Clip', default_value=0.1)
self.add_input('LnxFloatSocket', 'Center Max Clip', default_value=0.5)
self.add_input('LnxFloatSocket', 'Luminance Min', default_value=0.10)
self.add_input('LnxFloatSocket', 'Luminance Max', default_value=2.50)
self.add_input('LnxFloatSocket', 'Brightness Exponent', default_value=2.0)
self.add_output('LnxNodeSocketAction', 'Out')