15 lines
592 B
Python
15 lines
592 B
Python
from lnx.logicnode.lnx_nodes import *
|
|
|
|
class SharpenSetNode(LnxLogicTreeNode):
|
|
"""Set the sharpen post-processing settings."""
|
|
bl_idname = 'LNSharpenSetNode'
|
|
bl_label = 'Set Sharpen Settings'
|
|
lnx_version = 1
|
|
|
|
def lnx_init(self, context):
|
|
self.add_input('LnxNodeSocketAction', 'In')
|
|
self.add_input('LnxColorSocket', 'Color', default_value=[0.0, 0.0, 0.0, 1.0])
|
|
self.add_input('LnxFloatSocket', 'Size', default_value=2.5)
|
|
self.add_input('LnxFloatSocket', 'Strength', default_value=0.25)
|
|
|
|
self.add_output('LnxNodeSocketAction', 'Out') |