2020-03-04 17:45:19 +01:00
|
|
|
from arm.logicnode.arm_nodes import *
|
|
|
|
|
2020-09-08 21:16:20 +02:00
|
|
|
class LenstextureGetNode(ArmLogicTreeNode):
|
2020-09-23 22:12:25 +02:00
|
|
|
"""Use to get the lens texture settings."""
|
2020-03-04 17:45:19 +01:00
|
|
|
bl_idname = 'LNLenstextureGetNode'
|
|
|
|
bl_label = 'Get Lenstexture'
|
2020-09-13 11:27:58 +02:00
|
|
|
arm_version = 1
|
2020-03-04 17:45:19 +01:00
|
|
|
|
|
|
|
def init(self, context):
|
2020-09-13 11:27:58 +02:00
|
|
|
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')
|
2020-03-04 17:45:19 +01:00
|
|
|
|
2020-09-09 20:48:35 +02:00
|
|
|
add_node(LenstextureGetNode, category=PKG_AS_CATEGORY)
|