LNXSDK/leenkx/blender/lnx/logicnode/animation/LN_set_active_tilesheet.py

16 lines
557 B
Python
Raw Normal View History

2025-01-22 16:18:30 +01:00
from lnx.logicnode.lnx_nodes import *
class SetActiveTilesheetNode(LnxLogicTreeNode):
"""Set the active tilesheet."""
bl_idname = 'LNSetActiveTilesheetNode'
bl_label = 'Set Active Tilesheet'
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', 'Tilesheet')
self.add_input('LnxStringSocket', 'Action')
self.add_output('LnxNodeSocketAction', 'Out')