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

16 lines
525 B
Python

from lnx.logicnode.lnx_nodes import *
class SetTilesheetActionNode(LnxLogicTreeNode):
"""Sets the tilesheet action for the given object."""
bl_idname = 'LNSetTilesheetActionNode'
bl_label = 'Set Tilesheet Action'
lnx_version = 1
lnx_section = 'tilesheet'
def lnx_init(self, context):
self.add_input('LnxNodeSocketAction', 'In')
self.add_input('LnxNodeSocketObject', 'Object')
self.add_input('LnxStringSocket', 'Action')
self.add_output('LnxNodeSocketAction', 'Out')