Files
LNXSDK/leenkx/blender/lnx/logicnode/animation/LN_get_actions.py

14 lines
429 B
Python
Raw Normal View History

from lnx.logicnode.lnx_nodes import *
class AnimationNode(LnxLogicTreeNode):
"""Returns the actions list of the given object."""
bl_idname = 'LNAnimationNode'
bl_label = 'Get Actions'
lnx_version = 1
def lnx_init(self, context):
self.add_input('LnxNodeSocketObject', 'Object')
self.add_output('LnxNodeSocketArray', 'Actions', is_var=False)
self.add_output('LnxIntSocket', 'Length')