LNXSDK/leenkx/blender/lnx/logicnode/trait/LN_self_trait.py

11 lines
296 B
Python
Raw Normal View History

2025-01-22 16:18:30 +01:00
from lnx.logicnode.lnx_nodes import *
class SelfTraitNode(LnxLogicTreeNode):
"""Returns the trait that owns this node."""
bl_idname = 'LNSelfTraitNode'
bl_label = 'Self Trait'
lnx_version = 1
def lnx_init(self, context):
self.add_output('LnxDynamicSocket', 'Trait')