forked from LeenkxTeam/LNXSDK
		
	
		
			
				
	
	
		
			23 lines
		
	
	
		
			683 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			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')
 |