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