armory/blender/arm/logicnode/postprocess/LN_lenstexture_get.py

18 lines
673 B
Python
Raw Normal View History

from arm.logicnode.arm_nodes import *
class LenstextureGetNode(ArmLogicTreeNode):
2020-09-23 22:12:25 +02:00
"""Use to get the lens texture settings."""
bl_idname = 'LNLenstextureGetNode'
bl_label = 'Get Lenstexture'
arm_version = 1
def init(self, context):
super(LenstextureGetNode, self).init(context)
2020-09-08 21:49:02 +02:00
self.add_output('NodeSocketFloat', 'Center Min Clip')
self.add_output('NodeSocketFloat', 'Center Max Clip')
self.add_output('NodeSocketFloat', 'Luminance Min')
self.add_output('NodeSocketFloat', 'Luminance Max')
self.add_output('NodeSocketFloat', 'Brightness Exponent')
add_node(LenstextureGetNode, category=PKG_AS_CATEGORY)