LNXSDK/leenkx/blender/lnx/logicnode/renderpath/LN_set_shadows_quality.py
2025-01-22 16:18:30 +01:00

23 lines
683 B
Python

from lnx.logicnode.lnx_nodes import *
class RpShadowQualityNode(LnxLogicTreeNode):
"""Sets the shadows quality."""
bl_idname = 'LNRpShadowQualityNode'
bl_label = 'Set Shadows Quality'
lnx_version = 1
property0: HaxeEnumProperty(
'property0',
items = [('High', 'High', 'High'),
('Medium', 'Medium', 'Medium'),
('Low', 'Low', 'Low')
],
name='', default='Medium')
def lnx_init(self, context):
self.add_input('LnxNodeSocketAction', 'In')
self.add_output('LnxNodeSocketAction', 'Out')
def draw_buttons(self, context, layout):
layout.prop(self, 'property0')