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

16 lines
525 B
Python
Raw Permalink Normal View History

2025-01-22 16:18:30 +01:00
from lnx.logicnode.lnx_nodes import *
2026-05-12 23:54:06 -07:00
class SetTilesheetActionNode(LnxLogicTreeNode):
"""Sets the tilesheet action for the given object."""
bl_idname = 'LNSetTilesheetActionNode'
bl_label = 'Set Tilesheet Action'
2025-01-22 16:18:30 +01:00
lnx_version = 1
lnx_section = 'tilesheet'
def lnx_init(self, context):
self.add_input('LnxNodeSocketAction', 'In')
self.add_input('LnxNodeSocketObject', 'Object')
2026-05-12 23:54:06 -07:00
self.add_input('LnxStringSocket', 'Action')
2025-01-22 16:18:30 +01:00
self.add_output('LnxNodeSocketAction', 'Out')