2020-03-04 17:45:19 +01:00
|
|
|
from arm.logicnode.arm_nodes import *
|
|
|
|
|
2020-09-08 21:16:20 +02:00
|
|
|
class SSAOGetNode(ArmLogicTreeNode):
|
2020-10-05 19:55:56 +02:00
|
|
|
"""Returns the SSAO post-processing settings."""
|
2020-03-04 17:45:19 +01:00
|
|
|
bl_idname = 'LNSSAOGetNode'
|
2020-09-25 00:49:21 +02:00
|
|
|
bl_label = 'Get SSAO Settings'
|
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(SSAOGetNode, self).init(context)
|
2020-09-08 21:49:02 +02:00
|
|
|
self.add_output('NodeSocketFloat', 'Radius')
|
|
|
|
self.add_output('NodeSocketFloat', 'Strength')
|
|
|
|
self.add_output('NodeSocketFloat', 'Max Steps')
|