armory/blender/arm/logicnode/trait/LN_self_trait.py
2020-10-27 19:44:37 +01:00

12 lines
341 B
Python

from arm.logicnode.arm_nodes import *
class SelfTraitNode(ArmLogicTreeNode):
"""Returns the trait that owns this node."""
bl_idname = 'LNSelfTraitNode'
bl_label = 'Self Trait'
arm_version = 1
def init(self, context):
super(SelfTraitNode, self).init(context)
self.add_output('NodeSocketShader', 'Trait')