forked from LeenkxTeam/LNXSDK
Repe [T3DU] and Moises Jpelaez updates
This commit is contained in:
@ -0,0 +1,18 @@
|
||||
from lnx.logicnode.lnx_nodes import *
|
||||
|
||||
class GetTilesheetFlipNode(LnxLogicTreeNode):
|
||||
"""Returns the flip state of the tilesheet.
|
||||
|
||||
@output Flip X: Whether the sprite is flipped horizontally.
|
||||
@output Flip Y: Whether the sprite is flipped vertically.
|
||||
"""
|
||||
bl_idname = 'LNGetTilesheetFlipNode'
|
||||
bl_label = 'Get Tilesheet Flip'
|
||||
lnx_version = 1
|
||||
lnx_section = 'tilesheet'
|
||||
|
||||
def lnx_init(self, context):
|
||||
self.add_input('LnxNodeSocketObject', 'Object')
|
||||
|
||||
self.add_output('LnxBoolSocket', 'Flip X')
|
||||
self.add_output('LnxBoolSocket', 'Flip Y')
|
||||
Reference in New Issue
Block a user