2020-03-04 17:45:19 +01:00
|
|
|
import bpy
|
|
|
|
from bpy.props import *
|
|
|
|
from bpy.types import Node, NodeSocket
|
|
|
|
from arm.logicnode.arm_nodes import *
|
|
|
|
|
2020-09-08 21:16:20 +02:00
|
|
|
class BloomGetNode(ArmLogicTreeNode):
|
2020-03-04 17:45:19 +01:00
|
|
|
'''Get Bloom Effect'''
|
|
|
|
bl_idname = 'LNBloomGetNode'
|
|
|
|
bl_label = 'Get Bloom'
|
2020-08-07 19:05:48 +02:00
|
|
|
bl_icon = 'NONE'
|
2020-03-04 17:45:19 +01:00
|
|
|
|
|
|
|
def init(self, context):
|
|
|
|
self.outputs.new('NodeSocketFloat', 'Threshold')
|
|
|
|
self.outputs.new('NodeSocketFloat', 'Strength')
|
|
|
|
self.outputs.new('NodeSocketFloat', 'Radius')
|
|
|
|
|
2020-09-08 17:03:24 +02:00
|
|
|
add_node(BloomGetNode, category=MODULE_AS_CATEGORY)
|