forked from LeenkxTeam/LNXSDK
t3du - Resolution post process
This commit is contained in:
@ -0,0 +1,20 @@
|
||||
from lnx.logicnode.lnx_nodes import *
|
||||
|
||||
class ResolutionSetNode(LnxLogicTreeNode):
|
||||
"""Set the resolution post-processing settings.
|
||||
Filter 0: Lineal 1: Closest
|
||||
"""
|
||||
bl_idname = 'LNResolutionSetNode'
|
||||
bl_label = 'Set Resolution Settings'
|
||||
lnx_version = 1
|
||||
|
||||
def lnx_init(self, context):
|
||||
self.add_input('LnxNodeSocketAction', 'In')
|
||||
self.add_input('LnxIntSocket', 'Size', default_value=720)
|
||||
self.add_input('LnxIntSocket', 'Filter', default_value=0)
|
||||
|
||||
self.add_output('LnxNodeSocketAction', 'Out')
|
||||
|
||||
def draw_buttons(self, context, layout):
|
||||
layout.label(text="Type 0: Lineal")
|
||||
layout.label(text="Type 1: Closest")
|
Reference in New Issue
Block a user