forked from LeenkxTeam/LNXSDK
Repe [T3DU] Update - 31f26d171bba0355ce2a77031e3aad4c64dbc7e9
This commit is contained in:
13
leenkx/blender/lnx/logicnode/animation/LN_get_actions.py
Normal file
13
leenkx/blender/lnx/logicnode/animation/LN_get_actions.py
Normal file
@ -0,0 +1,13 @@
|
||||
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')
|
||||
Reference in New Issue
Block a user