forked from LeenkxTeam/LNXSDK
Add leenkx/blender/lnx/logicnode/postprocess/LN_set_volumetric_light_settings.py
This commit is contained in:
@ -0,0 +1,15 @@
|
||||
from lnx.logicnode.lnx_nodes import *
|
||||
|
||||
class VolumetricLightSetNode(LnxLogicTreeNode):
|
||||
"""Set the volumetric light post-processing settings."""
|
||||
bl_idname = 'LNVolumetricLightSetNode'
|
||||
bl_label = 'Set Volumetric Light Settings'
|
||||
lnx_version = 1
|
||||
|
||||
def lnx_init(self, context):
|
||||
self.add_input('LnxNodeSocketAction', 'In')
|
||||
self.add_input('LnxColorSocket', 'Air Color', default_value=[1.0, 1.0, 1.0, 1.0])
|
||||
self.add_input('LnxFloatSocket', 'Air Turbidity', default_value=1)
|
||||
self.add_input('LnxIntSocket', 'Steps', default_value=20)
|
||||
|
||||
self.add_output('LnxNodeSocketAction', 'Out')
|
Reference in New Issue
Block a user