LNXSDK/leenkx/blender/lnx/logicnode/object/LN_self_object.py
2025-01-22 16:18:30 +01:00

11 lines
298 B
Python

from lnx.logicnode.lnx_nodes import *
class SelfObjectNode(LnxLogicTreeNode):
"""Returns the object that owns the trait."""
bl_idname = 'LNSelfNode'
bl_label = 'Self Object'
lnx_version = 1
def lnx_init(self, context):
self.add_output('LnxNodeSocketObject', 'Object')