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

13 lines
411 B
Python

from lnx.logicnode.lnx_nodes import *
class AnimTreeNode(LnxLogicVariableNodeMixin, LnxLogicTreeNode):
"""Stores the given animation tree as a variable."""
bl_idname = 'LNAnimTreeNode'
bl_label = 'Animation Tree'
lnx_version = 2
def lnx_init(self, context):
self.add_input('LnxNodeSocketAnimTree', 'Action')
self.add_output('LnxNodeSocketAnimTree', 'Action', is_var=True)